Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5038/0.5038, allocations: 90.91 MB / 99.35 MB, free: 2.113 MB / 74.73 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 221.5 MB / 343.2 MB, free: 1.512 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009004/0.0009004, allocations: 95.27 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.246e-05/2.256e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1325, allocations: 72.32 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9825/1.115, allocations: 352.7 MB / 0.8981 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001871/1.115, allocations: 86.14 kB / 0.8981 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.7818/1.897, allocations: 257.7 MB / 1.15 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.923e-06/1.897, allocations: 0 / 1.15 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.042e-05/1.897, allocations: 20 kB / 1.15 GB, free: 106.6 MB / 0.5886 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.001835/1.899, allocations: 0.9224 MB / 1.151 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/1.899, allocations: 8.031 kB / 1.151 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009409/1.9, allocations: 187 kB / 1.151 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02143/1.922, allocations: 11.97 MB / 1.163 GB, free: 93.49 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003229/1.922, allocations: 76.72 kB / 1.163 GB, free: 93.42 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/1.922, allocations: 24 kB / 1.163 GB, free: 93.39 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005566/1.923, allocations: 301.4 kB / 1.163 GB, free: 93.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/1.923, allocations: 412.7 kB / 1.163 GB, free: 92.67 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/1.923, allocations: 0 / 1.163 GB, free: 92.67 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/1.923, allocations: 7.938 kB / 1.163 GB, free: 92.66 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/1.923, allocations: 12.78 kB / 1.163 GB, free: 92.65 MB / 0.5886 GB Warning: The model contains alias variables with conflicting start and/or 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.002711/1.926, allocations: 2.174 MB / 1.166 GB, free: 90.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/1.927, allocations: 267.7 kB / 1.166 GB, free: 90.03 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/1.927, allocations: 171.6 kB / 1.166 GB, free: 89.86 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002291/1.927, allocations: 340.6 kB / 1.166 GB, free: 89.46 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002819/1.927, allocations: 246.8 kB / 1.167 GB, free: 89.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=33): time 1.954e-06/1.927, allocations: 0 / 1.167 GB, free: 89.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33): time 0.001018/1.928, allocations: 486 kB / 1.167 GB, free: 88.72 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/1.928, allocations: 85.05 kB / 1.167 GB, free: 88.62 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/1.929, allocations: 369.3 kB / 1.167 GB, free: 88.25 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/1.929, allocations: 29.7 kB / 1.167 GB, free: 88.21 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/1.929, allocations: 284.2 kB / 1.168 GB, free: 87.93 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/1.929, allocations: 98.47 kB / 1.168 GB, free: 87.84 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/1.929, allocations: 7.938 kB / 1.168 GB, free: 87.83 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.995e-05/1.929, allocations: 362.7 kB / 1.168 GB, free: 87.46 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/1.929, allocations: 128 kB / 1.168 GB, free: 87.34 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/1.929, allocations: 211.1 kB / 1.168 GB, free: 87.09 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/1.93, allocations: 160.1 kB / 1.169 GB, free: 86.94 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.93, allocations: 4 kB / 1.169 GB, free: 86.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000849/1.931, allocations: 0.4898 MB / 1.169 GB, free: 86.43 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001367/1.931, allocations: 0.65 MB / 1.17 GB, free: 85.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.931, allocations: 4 kB / 1.17 GB, free: 85.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/1.931, allocations: 44.84 kB / 1.17 GB, free: 85.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/1.931, allocations: 87.86 kB / 1.17 GB, free: 85.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003351/1.932, allocations: 0.6031 MB / 1.17 GB, free: 84.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005637/1.932, allocations: 75.69 kB / 1.171 GB, free: 84.89 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/1.932, allocations: 27.92 kB / 1.171 GB, free: 84.86 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/1.932, allocations: 4 kB / 1.171 GB, free: 84.86 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007431/1.933, allocations: 432.4 kB / 1.171 GB, free: 84.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/1.933, allocations: 0 / 1.171 GB, free: 84.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001312/1.933, allocations: 48.83 kB / 1.171 GB, free: 84.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/1.934, allocations: 83.91 kB / 1.171 GB, free: 84.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/1.935, allocations: 1.56 MB / 1.173 GB, free: 82.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005246/1.935, allocations: 67.7 kB / 1.173 GB, free: 82.54 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/1.935, allocations: 23.98 kB / 1.173 GB, free: 82.52 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * 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.0001525/1.935, allocations: 151.2 kB / 1.173 GB, free: 82.36 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007778/1.936, allocations: 487.3 kB / 1.173 GB, free: 81.88 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.069e-05/1.936, allocations: 55.34 kB / 1.173 GB, free: 81.82 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009083/1.937, allocations: 0.5166 MB / 1.174 GB, free: 81.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/1.937, allocations: 4 kB / 1.174 GB, free: 81.29 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/1.937, allocations: 0 / 1.174 GB, free: 81.29 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006959/1.938, allocations: 0.6882 MB / 1.175 GB, free: 80.54 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/1.939, allocations: 1.114 MB / 1.176 GB, free: 79.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/1.939, allocations: 0 / 1.176 GB, free: 79.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/1.94, allocations: 79.97 kB / 1.176 GB, free: 79.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.299e-05/1.94, allocations: 36.84 kB / 1.176 GB, free: 79.26 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/1.94, allocations: 8 kB / 1.176 GB, free: 79.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000256/1.94, allocations: 0.5719 MB / 1.176 GB, free: 78.65 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.94, allocations: 11.81 kB / 1.176 GB, free: 78.64 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/1.941, allocations: 0.8463 MB / 1.177 GB, free: 77.75 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/1.941, allocations: 184.4 kB / 1.177 GB, free: 77.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.735e-05/1.942, allocations: 8.062 kB / 1.177 GB, free: 77.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005177/1.942, allocations: 59.84 kB / 1.177 GB, free: 77.48 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/1.942, allocations: 19.97 kB / 1.177 GB, free: 77.46 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/1.942, allocations: 27.94 kB / 1.177 GB, free: 77.43 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002715/1.942, allocations: 290.9 kB / 1.178 GB, free: 77.15 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.31e-07/1.942, allocations: 4 kB / 1.178 GB, free: 77.15 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0012/1.944, allocations: 371.3 kB / 1.178 GB, free: 76.79 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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.001822/1.946, allocations: 1.853 MB / 1.18 GB, free: 74.92 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001028/1.947, allocations: 0.817 MB / 1.181 GB, free: 74.07 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.947, allocations: 0 / 1.181 GB, free: 74.07 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002593/1.947, allocations: 263.3 kB / 1.181 GB, free: 73.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/1.948, allocations: 222.5 kB / 1.181 GB, free: 73.58 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/1.95, allocations: 0.9063 MB / 1.182 GB, free: 72.63 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/1.95, allocations: 0.8909 MB / 1.183 GB, free: 71.71 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0005734/1.95, allocations: 152.2 kB / 1.183 GB, free: 71.56 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/1.951, allocations: 191.4 kB / 1.183 GB, free: 71.37 MB / 0.5886 GB Notification: Performance of SimCode: time 2.8e-07/1.951, allocations: 4 kB / 1.183 GB, free: 71.37 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03549/1.986, allocations: 15.97 MB / 1.199 GB, free: 55.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/1.986, allocations: 178.6 kB / 1.199 GB, free: 55.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/4.428, allocations: 0 / 1.199 GB, free: 55.3 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)