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.001639/0.001639, allocations: 97.2 kB / 15.69 MB, free: 480 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.002328/0.002329, allocations: 173.6 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.702/2.702, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.36/1.36, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006501/0.0006504, allocations: 16 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2994, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.9715/1.271, allocations: 162 MB / 0.7149 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01934/1.29, allocations: 6.289 MB / 0.721 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003741/1.294, allocations: 35.69 kB / 0.7211 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004231/1.299, allocations: 0.6649 MB / 0.7217 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008259/1.307, allocations: 1.675 MB / 0.7234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005873/1.313, allocations: 1.534 MB / 0.7249 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004335/1.317, allocations: 1.705 MB / 0.7265 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/1.319, allocations: 0.7146 MB / 0.7272 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/1.321, allocations: 0.911 MB / 0.7281 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/1.322, allocations: 0.529 MB / 0.7286 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001433/1.322, allocations: 40 kB / 0.7287 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003381/1.326, allocations: 1.174 MB / 0.7298 GB, free: 8.855 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004272/1.326, allocations: 283.1 kB / 0.7301 GB, free: 8.578 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004653/1.327, allocations: 245.1 kB / 0.7303 GB, free: 8.332 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002409/1.329, allocations: 1.538 MB / 0.7318 GB, free: 6.793 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.329, allocations: 0 / 0.7318 GB, free: 6.793 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.416e-06/1.329, allocations: 4 kB / 0.7318 GB, free: 6.789 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.901e-05/1.329, allocations: 0 / 0.7318 GB, free: 6.789 MB / 0.545 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.003848/1.333, allocations: 1.38 MB / 0.7332 GB, free: 5.352 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/1.333, allocations: 8.031 kB / 0.7332 GB, free: 5.344 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002034/1.333, allocations: 122.5 kB / 0.7333 GB, free: 5.215 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003124/1.336, allocations: 0.5995 MB / 0.7339 GB, free: 4.613 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003019/1.34, allocations: 0.9143 MB / 0.7348 GB, free: 3.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001922/1.341, allocations: 321 kB / 0.7351 GB, free: 3.344 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002933/1.342, allocations: 68 kB / 0.7351 GB, free: 3.277 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003166/1.345, allocations: 1.144 MB / 0.7363 GB, free: 2.102 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/1.345, allocations: 4 kB / 0.7363 GB, free: 2.098 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.522e-05/1.345, allocations: 24 kB / 0.7363 GB, free: 2.074 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.626e-05/1.345, allocations: 37.3 kB / 0.7363 GB, free: 2.039 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00397/1.349, allocations: 1.254 MB / 0.7375 GB, free: 0.7852 MB / 0.545 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.006775/1.356, allocations: 3.257 MB / 0.7407 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/1.358, allocations: 0.7036 MB / 0.7414 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005347/1.358, allocations: 0.6731 MB / 0.7421 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/1.359, allocations: 0.526 MB / 0.7426 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=57): time 2.665e-06/1.359, allocations: 3.938 kB / 0.7426 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=57): time 0.003249/1.363, allocations: 1.316 MB / 0.7439 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.88e-05/1.363, allocations: 140.9 kB / 0.744 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/1.365, allocations: 1.219 MB / 0.7452 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/1.365, allocations: 33.7 kB / 0.7452 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004506/1.366, allocations: 445.5 kB / 0.7457 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/1.366, allocations: 193.3 kB / 0.7458 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/1.366, allocations: 8 kB / 0.7458 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.366, allocations: 330 kB / 0.7462 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/1.368, allocations: 480.9 kB / 0.7466 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/1.369, allocations: 0.6367 MB / 0.7472 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/1.371, allocations: 0.5424 MB / 0.7478 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/1.371, allocations: 0 / 0.7478 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003786/1.374, allocations: 1.275 MB / 0.749 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.509e-05/1.374, allocations: 44.19 kB / 0.7491 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.374, allocations: 7.938 kB / 0.7491 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/1.375, allocations: 8 kB / 0.7491 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/1.376, allocations: 208 kB / 0.7493 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.459e-05/1.376, allocations: 11.94 kB / 0.7493 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/1.378, allocations: 314.2 kB / 0.7496 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/1.378, allocations: 39.97 kB / 0.7496 GB, free: 3.996 MB / 0.5606 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.0007561/1.379, allocations: 324.1 kB / 0.7499 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/1.379, allocations: 110.7 kB / 0.75 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/1.382, allocations: 1.005 MB / 0.751 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.628e-05/1.382, allocations: 8 kB / 0.751 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/1.382, allocations: 3.953 kB / 0.751 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/1.382, allocations: 7.984 kB / 0.751 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006739/1.388, allocations: 3.173 MB / 0.7541 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/1.389, allocations: 8 kB / 0.7541 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/1.389, allocations: 128 kB / 0.7543 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.31e-05/1.389, allocations: 12 kB / 0.7543 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.949e-05/1.389, allocations: 24 kB / 0.7543 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-05/1.389, allocations: 15.92 kB / 0.7543 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.519e-05/1.389, allocations: 8 kB / 0.7543 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003756/1.393, allocations: 1.754 MB / 0.756 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009251/1.394, allocations: 335.3 kB / 0.7564 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/1.394, allocations: 27.94 kB / 0.7564 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/1.396, allocations: 127.9 kB / 0.7565 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/1.396, allocations: 71.7 kB / 0.7566 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.484e-05/1.396, allocations: 35.98 kB / 0.7566 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001751/1.398, allocations: 0.8872 MB / 0.7575 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/1.398, allocations: 0 / 0.7575 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001407/1.399, allocations: 299.8 kB / 0.7578 GB, free: 11.18 MB / 0.5762 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.006025/1.405, allocations: 4.647 MB / 0.7623 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002709/1.408, allocations: 1.045 MB / 0.7633 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/1.408, allocations: 4 kB / 0.7633 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/1.409, allocations: 0.5209 MB / 0.7638 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003494/1.413, allocations: 0.5275 MB / 0.7643 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02798/1.441, allocations: 9.042 MB / 0.7732 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/1.442, allocations: 1.096 MB / 0.7742 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002476/1.444, allocations: 274.2 kB / 0.7745 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000781/1.445, allocations: 363.3 kB / 0.7749 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of SimCode: time 1.803e-06/1.445, allocations: 0 / 0.7749 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/1.556, allocations: 30.86 MB / 0.805 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004001/1.557, allocations: 241.2 kB / 0.8052 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.717/6.274, allocations: 0 / 0.8052 GB, free: 10.34 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: