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.001301/0.001301, allocations: 102.3 kB / 16.4 MB, free: 6.492 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.001866/0.001866, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.517/1.517, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7775/0.7775, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 64.53 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1712, allocations: 76.18 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6126/0.7838, allocations: 194 MB / 0.821 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.7946, allocations: 6.93 MB / 0.8278 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001765/0.7965, allocations: 51.28 kB / 0.8278 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002204/0.7987, allocations: 0.6963 MB / 0.8285 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008545/0.8073, allocations: 2.342 MB / 0.8308 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004073/0.8114, allocations: 1.42 MB / 0.8322 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004576/0.816, allocations: 2.998 MB / 0.8351 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.8177, allocations: 0.8942 MB / 0.836 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003105/0.8209, allocations: 1.143 MB / 0.8371 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001808/0.8227, allocations: 0.7982 MB / 0.8379 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003795/0.8231, allocations: 101.2 kB / 0.838 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004938/0.828, allocations: 2.054 MB / 0.84 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006865/0.8287, allocations: 368 kB / 0.8403 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.8301, allocations: 0.5854 MB / 0.8409 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005181/0.8353, allocations: 2.387 MB / 0.8433 GB, free: 64 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.8354, allocations: 4 kB / 0.8433 GB, free: 60 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8354, allocations: 3.219 kB / 0.8433 GB, free: 60 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.359e-05/0.8354, allocations: 0 / 0.8433 GB, free: 60 kB / 0.5919 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.004614/0.8401, allocations: 1.626 MB / 0.8448 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.8401, allocations: 13.7 kB / 0.8449 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002594/0.8404, allocations: 116 kB / 0.845 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003115/0.8435, allocations: 0.5356 MB / 0.8455 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002734/0.8463, allocations: 1.036 MB / 0.8465 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.436e-05/0.8464, allocations: 61.81 kB / 0.8466 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.8466, allocations: 68.53 kB / 0.8466 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002758/0.8493, allocations: 1.104 MB / 0.8477 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.8494, allocations: 7.922 kB / 0.8477 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.8495, allocations: 29.84 kB / 0.8477 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/0.8495, allocations: 26.25 kB / 0.8478 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003254/0.8528, allocations: 1.162 MB / 0.8489 GB, free: 12 MB / 0.6075 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.006605/0.8594, allocations: 3.166 MB / 0.852 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.8613, allocations: 0.6919 MB / 0.8527 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008365/0.8622, allocations: 419.2 kB / 0.8531 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009262/0.8631, allocations: 1.034 MB / 0.8541 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.8642, allocations: 0.5065 MB / 0.8546 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=57): time 6.322e-06/0.8642, allocations: 0 / 0.8546 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=57): time 0.003301/0.8675, allocations: 1.228 MB / 0.8558 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.8676, allocations: 140.8 kB / 0.8559 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002253/0.8699, allocations: 1.18 MB / 0.8571 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.87, allocations: 37.7 kB / 0.8571 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004116/0.8704, allocations: 433.5 kB / 0.8575 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.8706, allocations: 194.7 kB / 0.8577 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003124/0.871, allocations: 146 kB / 0.8578 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.8711, allocations: 330 kB / 0.8582 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.8724, allocations: 440.9 kB / 0.8586 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.8738, allocations: 0.6002 MB / 0.8592 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00208/0.8759, allocations: 0.9262 MB / 0.8601 GB, free: 88 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.876, allocations: 0 / 0.8601 GB, free: 88 kB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003334/0.8793, allocations: 1.193 MB / 0.8612 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.853e-05/0.8794, allocations: 41.69 kB / 0.8613 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.8794, allocations: 0 / 0.8613 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.8794, allocations: 8 kB / 0.8613 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000984/0.8804, allocations: 191.9 kB / 0.8615 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.8804, allocations: 11.88 kB / 0.8615 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.8821, allocations: 238.9 kB / 0.8617 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.8822, allocations: 31.98 kB / 0.8617 GB, free: 14.36 MB / 0.6231 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.0005355/0.8827, allocations: 335.3 kB / 0.862 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/0.883, allocations: 119.1 kB / 0.8622 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002289/0.8853, allocations: 0.992 MB / 0.8631 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.8854, allocations: 4 kB / 0.8631 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.8854, allocations: 7.938 kB / 0.8631 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.8854, allocations: 12.02 kB / 0.8632 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005473/0.8909, allocations: 3.166 MB / 0.8662 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/0.8909, allocations: 8 kB / 0.8663 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/0.8915, allocations: 115.8 kB / 0.8664 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.8916, allocations: 8 kB / 0.8664 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.433e-05/0.8916, allocations: 27.98 kB / 0.8664 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/0.8917, allocations: 16.05 kB / 0.8664 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.8917, allocations: 11.94 kB / 0.8664 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.894, allocations: 1.353 MB / 0.8677 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006946/0.8947, allocations: 331.4 kB / 0.8681 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/0.895, allocations: 23.94 kB / 0.8681 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.8962, allocations: 95.91 kB / 0.8682 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.8964, allocations: 67.69 kB / 0.8682 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.8965, allocations: 39.97 kB / 0.8683 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001648/0.8981, allocations: 0.8482 MB / 0.8691 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8982, allocations: 0 / 0.8691 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001322/0.8995, allocations: 299.8 kB / 0.8694 GB, free: 6.203 MB / 0.6231 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.003614/0.9031, allocations: 2.122 MB / 0.8715 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002803/0.9059, allocations: 1.009 MB / 0.8724 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.906, allocations: 4 kB / 0.8725 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.907, allocations: 0.5188 MB / 0.873 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/0.9103, allocations: 0.5483 MB / 0.8735 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01882/0.9291, allocations: 9.374 MB / 0.8826 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007795/0.93, allocations: 1.069 MB / 0.8837 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0012/0.9312, allocations: 275.7 kB / 0.884 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006312/0.9318, allocations: 359.3 kB / 0.8843 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of SimCode: time 8.61e-07/0.9318, allocations: 0 / 0.8843 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06445/0.9963, allocations: 32.22 MB / 0.9158 GB, free: 6.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.51, allocations: 21.91 kB / 0.9158 GB, free: 6.48 MB / 0.67 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)