Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001008, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007728/0.007728, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 8 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.658/0.6584, allocations: 142.4 MB / 0.9552 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02075/0.6792, allocations: 20.15 MB / 0.9748 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007871/0.6871, allocations: 5.395 MB / 0.9801 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006207/0.6878, allocations: 18.25 kB / 0.9801 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008088/0.6886, allocations: 288.5 kB / 0.9804 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.6907, allocations: 0.8497 MB / 0.9812 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.693, allocations: 0.8141 MB / 0.982 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002709/0.6957, allocations: 2.306 MB / 0.9843 GB, free: 484 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006651/0.6964, allocations: 429.3 kB / 0.9847 GB, free: 208 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.6975, allocations: 0.616 MB / 0.9853 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006719/0.6982, allocations: 494.8 kB / 0.9858 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.772e-05/0.6983, allocations: 22.94 kB / 0.9858 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.7003, allocations: 1.093 MB / 0.9869 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.7004, allocations: 127.4 kB / 0.987 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003118/0.7008, allocations: 320 kB / 0.9873 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.7022, allocations: 1.192 MB / 0.9884 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.7023, allocations: 0 / 0.9884 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7023, allocations: 0 / 0.9884 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.7023, allocations: 0 / 0.9884 GB, free: 13.14 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001559/0.7038, allocations: 0.9209 MB / 0.9893 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.7039, allocations: 8.031 kB / 0.9894 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.345e-05/0.704, allocations: 82.72 kB / 0.9894 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009053/0.7049, allocations: 195.9 kB / 0.9896 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009976/0.7059, allocations: 0.561 MB / 0.9902 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003688/0.7063, allocations: 96.94 kB / 0.9903 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.928e-05/0.7064, allocations: 40 kB / 0.9903 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009994/0.7074, allocations: 0.5038 MB / 0.9908 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.7074, allocations: 0 / 0.9908 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/0.7075, allocations: 16 kB / 0.9908 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/0.7075, allocations: 12 kB / 0.9908 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.7086, allocations: 426.6 kB / 0.9912 GB, free: 10.16 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002882/0.7115, allocations: 2.297 MB / 0.9935 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.7125, allocations: 391 kB / 0.9938 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005255/0.7131, allocations: 241 kB / 0.9941 GB, free: 7.023 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/0.7134, allocations: 348.6 kB / 0.9944 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006511/0.714, allocations: 306.9 kB / 0.9947 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 2.013e-06/0.7141, allocations: 0 / 0.9947 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.002336/0.7164, allocations: 0.8889 MB / 0.9956 GB, free: 5.371 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.7165, allocations: 85.11 kB / 0.9956 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005292/0.717, allocations: 0.491 MB / 0.9961 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.7171, allocations: 33.7 kB / 0.9962 GB, free: 4.73 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.7173, allocations: 280.4 kB / 0.9964 GB, free: 4.449 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.983e-05/0.7174, allocations: 106.5 kB / 0.9965 GB, free: 4.344 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.7174, allocations: 33.7 kB / 0.9966 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.7176, allocations: 362.8 kB / 0.9969 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/0.7181, allocations: 183.9 kB / 0.9971 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/0.7186, allocations: 277 kB / 0.9973 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009932/0.7196, allocations: 489.1 kB / 0.9978 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7196, allocations: 0 / 0.9978 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001464/0.7211, allocations: 0.6484 MB / 0.9984 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.7212, allocations: 171.9 kB / 0.9986 GB, free: 2.082 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.7212, allocations: 7.938 kB / 0.9986 GB, free: 2.074 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003343/0.7216, allocations: 64.81 kB / 0.9987 GB, free: 2.008 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.722, allocations: 87.88 kB / 0.9988 GB, free: 1.922 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004547/0.7224, allocations: 0.5915 MB / 0.9993 GB, free: 1.305 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/0.723, allocations: 79.59 kB / 0.9994 GB, free: 1.227 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.7231, allocations: 16 kB / 0.9994 GB, free: 1.211 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.7231, allocations: 7.938 kB / 0.9994 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001289/0.7244, allocations: 0.5566 MB / 1 GB, free: 0.6367 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.7244, allocations: 4 kB / 1 GB, free: 0.6328 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001477/0.7245, allocations: 52.92 kB / 1 GB, free: 0.5781 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.7249, allocations: 79.94 kB / 1 GB, free: 0.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.7265, allocations: 1.635 MB / 1.002 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000559/0.7271, allocations: 87.73 kB / 1.002 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.7271, allocations: 15.98 kB / 1.002 GB, free: 14.62 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003875/0.7275, allocations: 299.2 kB / 1.002 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.511e-05/0.7276, allocations: 55.34 kB / 1.002 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.7291, allocations: 0.6726 MB / 1.003 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.7291, allocations: 0 / 1.003 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.7291, allocations: 4 kB / 1.003 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001331/0.7305, allocations: 0.821 MB / 1.004 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.7328, allocations: 1.319 MB / 1.005 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.7328, allocations: 3.938 kB / 1.005 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.7332, allocations: 75.98 kB / 1.005 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/0.7333, allocations: 40.77 kB / 1.005 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.7333, allocations: 12 kB / 1.005 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003626/0.7337, allocations: 0.5834 MB / 1.006 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7337, allocations: 4.031 kB / 1.006 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.7357, allocations: 0.9989 MB / 1.007 GB, free: 9.484 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.7359, allocations: 188.2 kB / 1.007 GB, free: 9.281 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.499e-05/0.736, allocations: 8 kB / 1.007 GB, free: 9.273 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005958/0.7366, allocations: 64 kB / 1.007 GB, free: 9.211 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/0.7367, allocations: 28 kB / 1.007 GB, free: 9.184 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.464e-05/0.7367, allocations: 19.98 kB / 1.007 GB, free: 9.164 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003907/0.7371, allocations: 350.8 kB / 1.007 GB, free: 8.824 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7371, allocations: 0 / 1.007 GB, free: 8.824 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001041/0.7382, allocations: 339.5 kB / 1.008 GB, free: 8.492 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002687/0.7409, allocations: 1.716 MB / 1.009 GB, free: 6.738 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00211/0.743, allocations: 1.002 MB / 1.01 GB, free: 5.699 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.743, allocations: 0 / 1.01 GB, free: 5.699 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006489/0.7437, allocations: 332.3 kB / 1.01 GB, free: 5.363 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.7452, allocations: 244.3 kB / 1.011 GB, free: 5.125 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008327/0.7535, allocations: 5.24 MB / 1.016 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.754, allocations: 0.8823 MB / 1.017 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005307/0.7545, allocations: 128.4 kB / 1.017 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/0.7548, allocations: 191.4 kB / 1.017 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of SimCode: time 3.987e-06/0.7548, allocations: 4 kB / 1.017 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03329/0.7881, allocations: 15.97 MB / 1.033 GB, free: 14.85 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/0.7884, allocations: 285.9 kB / 1.033 GB, free: 14.46 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/2.974, allocations: 0 / 1.033 GB, free: 14.46 MB / 0.795 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)