Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.0008174/0.0008175, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009544/0.0009544, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.366/1.366, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6704/0.6704, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003139, allocations: 15.97 kB / 495.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1594, allocations: 77.53 MB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4719/0.6314, allocations: 189.1 MB / 0.7447 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00944/0.6409, allocations: 6.92 MB / 0.7515 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.6422, allocations: 31.75 kB / 0.7515 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.6438, allocations: 0.5671 MB / 0.7521 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005205/0.6491, allocations: 2.187 MB / 0.7542 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002912/0.652, allocations: 1.287 MB / 0.7555 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004029/0.656, allocations: 3.742 MB / 0.7591 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/0.6574, allocations: 0.7677 MB / 0.7599 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.6595, allocations: 0.9569 MB / 0.7608 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/0.6614, allocations: 0.8004 MB / 0.7616 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000248/0.6617, allocations: 40 kB / 0.7616 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00378/0.6655, allocations: 2.221 MB / 0.7638 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000457/0.666, allocations: 310.8 kB / 0.7641 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008307/0.6668, allocations: 0.5496 MB / 0.7646 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003473/0.6703, allocations: 2.391 MB / 0.7669 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6703, allocations: 0 / 0.7669 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.694e-06/0.6703, allocations: 0 / 0.7669 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.195e-05/0.6703, allocations: 0 / 0.7669 GB, free: 2.746 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003125/0.6735, allocations: 1.38 MB / 0.7683 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.6735, allocations: 16.03 kB / 0.7683 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/0.6737, allocations: 114.4 kB / 0.7684 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002797/0.6765, allocations: 0.5956 MB / 0.769 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.6785, allocations: 0.9986 MB / 0.77 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001151/0.6796, allocations: 317 kB / 0.7703 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.6798, allocations: 71.94 kB / 0.7703 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.6821, allocations: 1.152 MB / 0.7715 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.6822, allocations: 0 / 0.7715 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-05/0.6823, allocations: 31.91 kB / 0.7715 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/0.6823, allocations: 33.3 kB / 0.7715 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003114/0.6854, allocations: 1.254 MB / 0.7728 GB, free: 12.65 MB / 0.5919 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.005631/0.6911, allocations: 3.248 MB / 0.7759 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.6927, allocations: 0.7081 MB / 0.7766 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007765/0.6935, allocations: 423 kB / 0.777 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008375/0.6944, allocations: 1.025 MB / 0.778 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009586/0.6953, allocations: 0.5261 MB / 0.7785 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.515e-06/0.6954, allocations: 0 / 0.7785 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.002862/0.6982, allocations: 1.24 MB / 0.7798 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.6983, allocations: 144.8 kB / 0.7799 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/0.7003, allocations: 1.219 MB / 0.7811 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.061e-05/0.7004, allocations: 41.7 kB / 0.7811 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.7007, allocations: 441.5 kB / 0.7815 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.7009, allocations: 189.3 kB / 0.7817 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.129e-05/0.701, allocations: 49.7 kB / 0.7818 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.7011, allocations: 330 kB / 0.7821 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.7024, allocations: 484.9 kB / 0.7825 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.7038, allocations: 0.6406 MB / 0.7832 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.7059, allocations: 0.9809 MB / 0.7841 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.7059, allocations: 4 kB / 0.7841 GB, free: 500 kB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003128/0.709, allocations: 1.283 MB / 0.7854 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.7091, allocations: 33.7 kB / 0.7854 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.7091, allocations: 4 kB / 0.7854 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.7091, allocations: 8 kB / 0.7854 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009282/0.71, allocations: 215.9 kB / 0.7856 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.7101, allocations: 11.94 kB / 0.7856 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.7117, allocations: 317.8 kB / 0.786 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.52e-05/0.7118, allocations: 35.92 kB / 0.786 GB, free: 14.57 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004738/0.7123, allocations: 325.9 kB / 0.7863 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.7125, allocations: 114.7 kB / 0.7864 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.7145, allocations: 1.009 MB / 0.7874 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.7145, allocations: 11.98 kB / 0.7874 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.7146, allocations: 3.984 kB / 0.7874 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.7146, allocations: 3.984 kB / 0.7874 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004618/0.7192, allocations: 3.179 MB / 0.7905 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/0.7192, allocations: 7.938 kB / 0.7905 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/0.7198, allocations: 128 kB / 0.7906 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.7198, allocations: 8 kB / 0.7907 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-05/0.7199, allocations: 27.98 kB / 0.7907 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/0.7199, allocations: 15.98 kB / 0.7907 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.7199, allocations: 11.94 kB / 0.7907 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.7219, allocations: 1.361 MB / 0.792 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004787/0.7224, allocations: 327.4 kB / 0.7923 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.7226, allocations: 20 kB / 0.7924 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.7237, allocations: 131.9 kB / 0.7925 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.7238, allocations: 63.7 kB / 0.7926 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.608e-05/0.7239, allocations: 43.97 kB / 0.7926 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001557/0.7255, allocations: 0.8872 MB / 0.7935 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7255, allocations: 0 / 0.7935 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001004/0.7265, allocations: 299.8 kB / 0.7937 GB, free: 6.297 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002869/0.7294, allocations: 2.147 MB / 0.7958 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002345/0.7317, allocations: 1.053 MB / 0.7969 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.7318, allocations: 0 / 0.7969 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000901/0.7327, allocations: 0.5242 MB / 0.7974 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00364/0.7363, allocations: 0.5367 MB / 0.7979 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/0.7541, allocations: 10.4 MB / 0.8081 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006727/0.7547, allocations: 1.073 MB / 0.8091 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001091/0.7558, allocations: 267.4 kB / 0.8094 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004919/0.7563, allocations: 359.3 kB / 0.8097 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of SimCode: time 3.71e-07/0.7564, allocations: 3.938 kB / 0.8097 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.542/2.298, allocations: 30.31 MB / 0.8393 GB, free: 231.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/2.298, allocations: 263.7 kB / 0.8396 GB, free: 230.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.655/4.954, allocations: 0 / 0.8396 GB, free: 230.9 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)