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.001155/0.001155, allocations: 102.8 kB / 16.4 MB, free: 6.461 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.001144/0.001144, allocations: 196 kB / 17.34 MB, free: 5.715 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.318/1.318, 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.7707/0.7707, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 70.7 kB / 0.568 GB, free: 29.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1508, allocations: 77.93 MB / 0.6441 GB, free: 9.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5608/0.7116, allocations: 194 MB / 0.8335 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01004/0.7217, allocations: 6.941 MB / 0.8403 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.7236, allocations: 44.94 kB / 0.8403 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.7256, allocations: 0.7056 MB / 0.841 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006258/0.7319, allocations: 2.443 MB / 0.8434 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003892/0.7358, allocations: 1.427 MB / 0.8448 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004867/0.7407, allocations: 3 MB / 0.8477 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/0.7424, allocations: 0.8926 MB / 0.8486 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003193/0.7456, allocations: 1.157 MB / 0.8497 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.7474, allocations: 0.7974 MB / 0.8505 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003781/0.7478, allocations: 99.81 kB / 0.8506 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005091/0.7529, allocations: 2.065 MB / 0.8526 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007407/0.7537, allocations: 368.2 kB / 0.853 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.7551, allocations: 0.5828 MB / 0.8535 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00532/0.7604, allocations: 2.405 MB / 0.8559 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7604, allocations: 0 / 0.8559 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7604, allocations: 4 kB / 0.8559 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.851e-05/0.7605, allocations: 4 kB / 0.8559 GB, free: 3.234 MB / 0.6075 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.004372/0.7649, allocations: 1.666 MB / 0.8575 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.7649, allocations: 8.625 kB / 0.8575 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000226/0.7652, allocations: 122.4 kB / 0.8576 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0032/0.7684, allocations: 0.5377 MB / 0.8582 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/0.771, allocations: 1.054 MB / 0.8592 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.331e-05/0.7712, allocations: 53.31 kB / 0.8592 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.7713, allocations: 67.98 kB / 0.8593 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002645/0.774, allocations: 1.109 MB / 0.8604 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.774, allocations: 3.938 kB / 0.8604 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.7741, allocations: 32 kB / 0.8604 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.189e-05/0.7742, allocations: 37.3 kB / 0.8605 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003161/0.7774, allocations: 1.157 MB / 0.8616 GB, free: 13.25 MB / 0.6231 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.006225/0.7836, allocations: 3.167 MB / 0.8647 GB, free: 10 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.7854, allocations: 0.6997 MB / 0.8654 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008165/0.7862, allocations: 418.8 kB / 0.8658 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008751/0.7871, allocations: 1.025 MB / 0.8668 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.7881, allocations: 0.5065 MB / 0.8673 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 2.565e-06/0.7881, allocations: 0 / 0.8673 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.003204/0.7913, allocations: 1.218 MB / 0.8685 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.617e-05/0.7915, allocations: 148.8 kB / 0.8686 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/0.7937, allocations: 1.18 MB / 0.8698 GB, free: 4.504 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.7938, allocations: 41.69 kB / 0.8698 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.7942, allocations: 441.8 kB / 0.8702 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.7944, allocations: 194.3 kB / 0.8704 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003059/0.7947, allocations: 154.1 kB / 0.8705 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.7949, allocations: 326 kB / 0.8709 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.7961, allocations: 444.9 kB / 0.8713 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.7976, allocations: 0.5899 MB / 0.8719 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/0.7997, allocations: 0.9266 MB / 0.8728 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.7997, allocations: 0 / 0.8728 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003404/0.8031, allocations: 1.206 MB / 0.8739 GB, free: 72 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.739e-05/0.8032, allocations: 37.7 kB / 0.874 GB, free: 28 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.8032, allocations: 4 kB / 0.874 GB, free: 24 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.81e-05/0.8033, allocations: 11.98 kB / 0.874 GB, free: 12 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009742/0.8042, allocations: 183.9 kB / 0.8742 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.406e-05/0.8043, allocations: 17.36 kB / 0.8742 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.8059, allocations: 243.1 kB / 0.8744 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.806, allocations: 43.91 kB / 0.8745 GB, free: 15.53 MB / 0.6387 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.0005656/0.8066, allocations: 319.4 kB / 0.8748 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/0.8069, allocations: 127.2 kB / 0.8749 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/0.8092, allocations: 0.9932 MB / 0.8758 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.8092, allocations: 4 kB / 0.8759 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.8092, allocations: 3.938 kB / 0.8759 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.8092, allocations: 7.984 kB / 0.8759 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005321/0.8146, allocations: 3.166 MB / 0.879 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.287e-05/0.8146, allocations: 12 kB / 0.879 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005984/0.8152, allocations: 119.8 kB / 0.8791 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.8152, allocations: 8 kB / 0.8791 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.574e-05/0.8153, allocations: 27.98 kB / 0.8791 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/0.8153, allocations: 16 kB / 0.8791 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/0.8153, allocations: 15.92 kB / 0.8791 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.8175, allocations: 1.345 MB / 0.8805 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006179/0.8181, allocations: 347.9 kB / 0.8808 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/0.8184, allocations: 24 kB / 0.8808 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.8196, allocations: 95.91 kB / 0.8809 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.8197, allocations: 63.75 kB / 0.881 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-05/0.8198, allocations: 39.97 kB / 0.881 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001577/0.8214, allocations: 0.852 MB / 0.8818 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8214, allocations: 0 / 0.8818 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001146/0.8225, allocations: 303.6 kB / 0.8821 GB, free: 7.34 MB / 0.6387 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.003065/0.8256, allocations: 2.134 MB / 0.8842 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00241/0.828, allocations: 1.014 MB / 0.8852 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.828, allocations: 0 / 0.8852 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000949/0.829, allocations: 0.5131 MB / 0.8857 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/0.8317, allocations: 0.5476 MB / 0.8862 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/0.8479, allocations: 9.407 MB / 0.8954 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006715/0.8486, allocations: 1.077 MB / 0.8965 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001008/0.8496, allocations: 279.4 kB / 0.8967 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005324/0.8502, allocations: 355.3 kB / 0.8971 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of SimCode: time 2.104e-06/0.8502, allocations: 0 / 0.8971 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05823/0.9084, allocations: 31.78 MB / 0.9281 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.806/10.71, allocations: 1.25 kB / 0.9281 GB, free: 8.031 MB / 0.6856 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)