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.0007402/0.0007403, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007719/0.0007718, allocations: 175.5 kB / 16.58 MB, free: 6.789 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.163/1.163, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5998/0.5998, allocations: 113.7 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002609/0.0002609, allocations: 9.438 kB / 493.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1169, allocations: 77.11 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.383/0.4999, allocations: 176.6 MB / 0.7293 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008077/0.5081, allocations: 6.557 MB / 0.7357 GB, free: 3.695 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.5091, allocations: 39.69 kB / 0.7358 GB, free: 3.656 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.5103, allocations: 476.8 kB / 0.7362 GB, free: 3.188 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003661/0.514, allocations: 1.68 MB / 0.7379 GB, free: 1.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002461/0.5164, allocations: 1.073 MB / 0.7389 GB, free: 464 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003224/0.5197, allocations: 3.216 MB / 0.7421 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.5207, allocations: 0.6895 MB / 0.7427 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.5223, allocations: 0.9453 MB / 0.7437 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.5233, allocations: 0.7313 MB / 0.7444 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.5235, allocations: 44 kB / 0.7444 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002214/0.5257, allocations: 1.216 MB / 0.7456 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003151/0.5261, allocations: 299 kB / 0.7459 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002623/0.5263, allocations: 241.1 kB / 0.7461 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.5279, allocations: 1.609 MB / 0.7477 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5279, allocations: 0 / 0.7477 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5279, allocations: 8 kB / 0.7477 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.078e-05/0.528, allocations: 0 / 0.7477 GB, free: 7.422 MB / 0.5606 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.002603/0.5306, allocations: 1.397 MB / 0.7491 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.5306, allocations: 8.031 kB / 0.7491 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001608/0.5308, allocations: 118.4 kB / 0.7492 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002423/0.5332, allocations: 0.6034 MB / 0.7498 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.5349, allocations: 0.965 MB / 0.7507 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009284/0.5359, allocations: 313.1 kB / 0.751 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.536, allocations: 68 kB / 0.7511 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.5381, allocations: 1.152 MB / 0.7522 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.5381, allocations: 0 / 0.7522 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.97e-05/0.5382, allocations: 28 kB / 0.7522 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/0.5382, allocations: 25.31 kB / 0.7523 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002678/0.5409, allocations: 1.25 MB / 0.7535 GB, free: 1.367 MB / 0.5606 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.004575/0.5455, allocations: 3.257 MB / 0.7567 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.5469, allocations: 0.6958 MB / 0.7573 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006764/0.5476, allocations: 434.1 kB / 0.7578 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000699/0.5483, allocations: 1.017 MB / 0.7587 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008223/0.5491, allocations: 0.5221 MB / 0.7593 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=57): time 1.603e-06/0.5491, allocations: 0 / 0.7593 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=57): time 0.002379/0.5515, allocations: 1.24 MB / 0.7605 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.5516, allocations: 144.8 kB / 0.7606 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.5532, allocations: 1.215 MB / 0.7618 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.677e-05/0.5533, allocations: 37.7 kB / 0.7618 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/0.5536, allocations: 429.5 kB / 0.7622 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.5537, allocations: 185.3 kB / 0.7624 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.5538, allocations: 12 kB / 0.7624 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.5539, allocations: 334 kB / 0.7627 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.555, allocations: 484.9 kB / 0.7632 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.5561, allocations: 0.6328 MB / 0.7638 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.5573, allocations: 0.5346 MB / 0.7643 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.5573, allocations: 0 / 0.7643 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002552/0.5598, allocations: 1.283 MB / 0.7656 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.5599, allocations: 43.72 kB / 0.7656 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.5599, allocations: 7.953 kB / 0.7657 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5599, allocations: 4 kB / 0.7657 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008178/0.5607, allocations: 220 kB / 0.7659 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.5608, allocations: 4 kB / 0.7659 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.562, allocations: 317.2 kB / 0.7662 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.498e-05/0.5621, allocations: 35.98 kB / 0.7662 GB, free: 3.852 MB / 0.5762 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 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003688/0.5625, allocations: 325.3 kB / 0.7665 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.5626, allocations: 114.7 kB / 0.7666 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.5644, allocations: 1.009 MB / 0.7676 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.5644, allocations: 12.41 kB / 0.7676 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5644, allocations: 0 / 0.7676 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.5644, allocations: 7.984 kB / 0.7676 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004001/0.5684, allocations: 3.177 MB / 0.7707 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.5685, allocations: 11.98 kB / 0.7707 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/0.569, allocations: 124.2 kB / 0.7709 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.501e-05/0.569, allocations: 12 kB / 0.7709 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/0.5691, allocations: 27.98 kB / 0.7709 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.868e-06/0.5691, allocations: 15.92 kB / 0.7709 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.5691, allocations: 11.94 kB / 0.7709 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.5708, allocations: 1.367 MB / 0.7723 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000385/0.5712, allocations: 327.4 kB / 0.7726 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.5714, allocations: 20 kB / 0.7726 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009398/0.5723, allocations: 135.9 kB / 0.7727 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.5724, allocations: 51.84 kB / 0.7728 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.019e-05/0.5725, allocations: 43.92 kB / 0.7728 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00128/0.5738, allocations: 0.8833 MB / 0.7737 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5738, allocations: 0 / 0.7737 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008461/0.5747, allocations: 295.8 kB / 0.774 GB, free: 11.59 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002478/0.5771, allocations: 2.124 MB / 0.776 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001972/0.5791, allocations: 1.05 MB / 0.7771 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5791, allocations: 0 / 0.7771 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007726/0.5799, allocations: 0.5242 MB / 0.7776 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/0.5821, allocations: 0.5305 MB / 0.7781 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.5936, allocations: 7.157 MB / 0.7851 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.5942, allocations: 1.077 MB / 0.7861 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009841/0.5951, allocations: 279.1 kB / 0.7864 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/0.5956, allocations: 355.3 kB / 0.7867 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.5956, allocations: 3.938 kB / 0.7867 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2419/0.8375, allocations: 30.59 MB / 0.8166 GB, free: 213.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001298/0.8377, allocations: 244.4 kB / 0.8168 GB, free: 213.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.034/2.872, allocations: 0 / 0.8168 GB, free: 213.3 MB / 0.6231 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/linux/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) Environment - environmentSimulation: