Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7748/0.7748, allocations: 128.7 MB / 143.7 MB, free: 2.301 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001362/0.001362, allocations: 187.8 kB / 173.7 MB, free: 6.117 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.4 MB / 409 MB, free: 10.47 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000964/0.000964, allocations: 98.36 kB / 486.5 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.0003639, allocations: 13.47 kB / 0.5604 GB, free: 97.44 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1689, allocations: 76.78 MB / 0.6354 GB, free: 30.41 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7717/0.9406, allocations: 349.5 MB / 0.9768 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.941, allocations: 87.62 kB / 0.9768 GB, free: 8.016 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.9067/1.848, allocations: 248.9 MB / 1.22 GB, free: 17.16 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.204e-06/1.848, allocations: 192 / 1.22 GB, free: 17.16 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.486e-05/1.848, allocations: 19.94 kB / 1.22 GB, free: 17.14 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002579/1.85, allocations: 1.019 MB / 1.221 GB, free: 16.07 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.85, allocations: 16.03 kB / 1.221 GB, free: 16.05 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002073/1.851, allocations: 78.52 kB / 1.221 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009335/1.852, allocations: 171 kB / 1.221 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02285/1.875, allocations: 11.44 MB / 1.232 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003331/1.875, allocations: 100.9 kB / 1.232 GB, free: 4.098 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/1.875, allocations: 32 kB / 1.232 GB, free: 4.066 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/1.877, allocations: 0.606 MB / 1.233 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/1.877, allocations: 0 / 1.233 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.054e-05/1.877, allocations: 16 kB / 1.233 GB, free: 3.414 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/1.877, allocations: 8 kB / 1.233 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/1.879, allocations: 0.5142 MB / 1.234 GB, free: 2.895 MB / 0.6511 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.003413/1.882, allocations: 2.271 MB / 1.236 GB, free: 424 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.345/2.227, allocations: 469.6 kB / 1.236 GB, free: 155.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003193/2.228, allocations: 344.9 kB / 1.237 GB, free: 155.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001431/2.229, allocations: 401.4 kB / 1.237 GB, free: 155.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 3.797e-06/2.229, allocations: 1.969 kB / 1.237 GB, free: 155.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.005828/2.235, allocations: 1.402 MB / 1.238 GB, free: 154.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/2.235, allocations: 89.59 kB / 1.238 GB, free: 154.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000649/2.236, allocations: 434 kB / 1.239 GB, free: 154.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.369e-05/2.236, allocations: 34.17 kB / 1.239 GB, free: 154.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/2.236, allocations: 290.3 kB / 1.239 GB, free: 154.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/2.236, allocations: 101.1 kB / 1.239 GB, free: 154.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/2.236, allocations: 6.75 kB / 1.239 GB, free: 154.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001003/2.236, allocations: 361.6 kB / 1.24 GB, free: 154.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005996/2.237, allocations: 215.2 kB / 1.24 GB, free: 154.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006367/2.237, allocations: 315.3 kB / 1.24 GB, free: 154.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/2.238, allocations: 263.8 kB / 1.24 GB, free: 154.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/2.238, allocations: 1.938 kB / 1.24 GB, free: 154.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.004112/2.242, allocations: 0.9801 MB / 1.241 GB, free: 154 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002203/2.242, allocations: 0.7328 MB / 1.242 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/2.242, allocations: 2.359 kB / 1.242 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005375/2.243, allocations: 130.9 kB / 1.242 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/2.243, allocations: 86.11 kB / 1.242 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/2.245, allocations: 0.7775 MB / 1.243 GB, free: 152.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008714/2.246, allocations: 100.4 kB / 1.243 GB, free: 152.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/2.246, allocations: 23.59 kB / 1.243 GB, free: 152.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/2.246, allocations: 2.781 kB / 1.243 GB, free: 152.7 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001255/2.247, allocations: 0.5658 MB / 1.244 GB, free: 152.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/2.247, allocations: 2.469 kB / 1.244 GB, free: 152.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001772/2.247, allocations: 49.52 kB / 1.244 GB, free: 152.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/2.248, allocations: 85.98 kB / 1.244 GB, free: 152.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/2.249, allocations: 1.641 MB / 1.245 GB, free: 151.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007155/2.25, allocations: 80.02 kB / 1.245 GB, free: 151.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/2.25, allocations: 23.69 kB / 1.246 GB, free: 151.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 29 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004474/2.25, allocations: 294.7 kB / 1.246 GB, free: 151 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/2.25, allocations: 58.03 kB / 1.246 GB, free: 151 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004175/2.255, allocations: 1.017 MB / 1.247 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/2.255, allocations: 3.719 kB / 1.247 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/2.255, allocations: 1.031 kB / 1.247 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004041/2.259, allocations: 1.134 MB / 1.248 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005158/2.264, allocations: 1.602 MB / 1.25 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/2.264, allocations: 0 / 1.25 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/2.264, allocations: 63.89 kB / 1.25 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004136/2.265, allocations: 121.9 kB / 1.25 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.722e-05/2.265, allocations: 10.84 kB / 1.25 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006873/2.272, allocations: 2.505 MB / 1.252 GB, free: 148.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/2.272, allocations: 0 / 1.252 GB, free: 148.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004618/2.276, allocations: 1.318 MB / 1.253 GB, free: 148.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005067/2.277, allocations: 190.6 kB / 1.254 GB, free: 148.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.732e-05/2.277, allocations: 7.875 kB / 1.254 GB, free: 148.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006847/2.278, allocations: 81.33 kB / 1.254 GB, free: 148.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.681e-05/2.278, allocations: 29.41 kB / 1.254 GB, free: 148.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/2.278, allocations: 19.27 kB / 1.254 GB, free: 148.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004599/2.278, allocations: 354 kB / 1.254 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.11e-07/2.278, allocations: 0 / 1.254 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00164/2.28, allocations: 409.9 kB / 1.254 GB, free: 148.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dyn.U) * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005641/2.286, allocations: 2.141 MB / 1.257 GB, free: 147.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002978/2.289, allocations: 1.087 MB / 1.258 GB, free: 147.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/2.289, allocations: 1.25 kB / 1.258 GB, free: 147.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/2.29, allocations: 0.5099 MB / 1.258 GB, free: 147.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/2.292, allocations: 231.3 kB / 1.258 GB, free: 147.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0098/2.301, allocations: 4.871 MB / 1.263 GB, free: 145.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/2.302, allocations: 0.8893 MB / 1.264 GB, free: 144.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007501/2.303, allocations: 116.8 kB / 1.264 GB, free: 144.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/2.303, allocations: 198.8 kB / 1.264 GB, free: 144.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.723e-06/2.303, allocations: 1.594 kB / 1.264 GB, free: 144.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04296/2.346, allocations: 19.17 MB / 1.283 GB, free: 144 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/2.346, allocations: 266 kB / 1.283 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.733/5.08, allocations: 2.953 kB / 1.283 GB, free: 143.7 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ConservationEquation.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)