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.8306/0.8306, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001117/0.001118, allocations: 191.7 kB / 169.7 MB, free: 1.738 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.949/1.949, allocations: 205.1 MB / 404.5 MB, free: 1.59 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.000943/0.0009428, allocations: 94.19 kB / 481.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.743e-05/3.756e-05, allocations: 4 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1811, allocations: 76.77 MB / 0.6283 GB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.191/1.372, allocations: 349.5 MB / 0.9695 GB, free: 184.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/1.372, allocations: 87.95 kB / 0.9696 GB, free: 184.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.8563/2.228, allocations: 248.1 MB / 1.212 GB, free: 157.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.766e-06/2.228, allocations: 3.719 kB / 1.212 GB, free: 157.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.836e-05/2.228, allocations: 17.81 kB / 1.212 GB, free: 157.5 MB / 0.6355 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.001653/2.23, allocations: 0.9086 MB / 1.213 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/2.23, allocations: 14.56 kB / 1.213 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.384e-05/2.23, allocations: 77.28 kB / 1.213 GB, free: 156.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008065/2.231, allocations: 183.4 kB / 1.213 GB, free: 156.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02181/2.253, allocations: 11.37 MB / 1.224 GB, free: 153.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003145/2.253, allocations: 97.14 kB / 1.224 GB, free: 153.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.44e-05/2.253, allocations: 38.22 kB / 1.224 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/2.255, allocations: 0.5218 MB / 1.225 GB, free: 153 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/2.255, allocations: 0 / 1.225 GB, free: 153 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/2.255, allocations: 14.41 kB / 1.225 GB, free: 153 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/2.255, allocations: 13.31 kB / 1.225 GB, free: 153 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000929/2.256, allocations: 391.7 kB / 1.225 GB, free: 152.9 MB / 0.6355 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.002675/2.258, allocations: 2.277 MB / 1.227 GB, free: 151.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009232/2.259, allocations: 332.8 kB / 1.228 GB, free: 151 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/2.259, allocations: 169.4 kB / 1.228 GB, free: 151 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002552/2.26, allocations: 341.9 kB / 1.228 GB, free: 150.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007557/2.26, allocations: 316.6 kB / 1.229 GB, free: 150.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=30): time 2.414e-06/2.26, allocations: 6.953 kB / 1.229 GB, free: 150.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30): time 0.003576/2.264, allocations: 0.8656 MB / 1.229 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/2.264, allocations: 80.83 kB / 1.23 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/2.265, allocations: 435.8 kB / 1.23 GB, free: 150 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/2.265, allocations: 33.3 kB / 1.23 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/2.265, allocations: 289.6 kB / 1.23 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.615e-05/2.265, allocations: 94.31 kB / 1.23 GB, free: 149.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/2.265, allocations: 8 kB / 1.23 GB, free: 149.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.026e-05/2.265, allocations: 366.7 kB / 1.231 GB, free: 149.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/2.265, allocations: 133.1 kB / 1.231 GB, free: 149.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/2.265, allocations: 236.4 kB / 1.231 GB, free: 149.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/2.266, allocations: 178.5 kB / 1.231 GB, free: 149 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/2.266, allocations: 0 / 1.231 GB, free: 149 MB / 0.6355 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002727/2.268, allocations: 0.8028 MB / 1.232 GB, free: 148.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001665/2.269, allocations: 0.7332 MB / 1.233 GB, free: 148 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/2.269, allocations: 3.688 kB / 1.233 GB, free: 148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/2.269, allocations: 80.69 kB / 1.233 GB, free: 147.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/2.269, allocations: 86.39 kB / 1.233 GB, free: 147.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008457/2.27, allocations: 0.7011 MB / 1.234 GB, free: 147.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006995/2.271, allocations: 100.1 kB / 1.234 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/2.271, allocations: 22.09 kB / 1.234 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/2.271, allocations: 3.844 kB / 1.234 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006963/2.272, allocations: 467.2 kB / 1.234 GB, free: 147.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/2.272, allocations: 0 / 1.234 GB, free: 147.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/2.272, allocations: 56.92 kB / 1.234 GB, free: 147.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/2.272, allocations: 91.16 kB / 1.234 GB, free: 147.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/2.273, allocations: 1.621 MB / 1.236 GB, free: 145.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005066/2.274, allocations: 78.16 kB / 1.236 GB, free: 145.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/2.274, allocations: 18.53 kB / 1.236 GB, free: 145.6 MB / 0.6355 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 () * 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.0001609/2.274, allocations: 168.8 kB / 1.236 GB, free: 145.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.342e-05/2.274, allocations: 54.72 kB / 1.236 GB, free: 145.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/2.277, allocations: 0.826 MB / 1.237 GB, free: 145.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/2.277, allocations: 9.234 kB / 1.237 GB, free: 145.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/2.277, allocations: 0.8438 kB / 1.237 GB, free: 145.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002626/2.28, allocations: 0.9738 MB / 1.238 GB, free: 144.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003507/2.283, allocations: 1.397 MB / 1.239 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/2.283, allocations: 3.984 kB / 1.239 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/2.284, allocations: 64.3 kB / 1.239 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001693/2.284, allocations: 73.53 kB / 1.239 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/2.284, allocations: 11.67 kB / 1.239 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00474/2.289, allocations: 2.184 MB / 1.242 GB, free: 141.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/2.289, allocations: 11.17 kB / 1.242 GB, free: 141.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/2.292, allocations: 1.064 MB / 1.243 GB, free: 141.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003879/2.292, allocations: 195.3 kB / 1.243 GB, free: 141.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/2.292, allocations: 3.844 kB / 1.243 GB, free: 141.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006343/2.293, allocations: 88.06 kB / 1.243 GB, free: 141.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.525e-05/2.293, allocations: 22.56 kB / 1.243 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/2.293, allocations: 18.52 kB / 1.243 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004817/2.293, allocations: 354.5 kB / 1.243 GB, free: 140.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/2.293, allocations: 0 / 1.243 GB, free: 140.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001782/2.295, allocations: 404.8 kB / 1.244 GB, free: 140.9 MB / 0.6355 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) * 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.004183/2.299, allocations: 1.88 MB / 1.245 GB, free: 139.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001773/2.301, allocations: 0.906 MB / 1.246 GB, free: 139.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/2.301, allocations: 3.188 kB / 1.246 GB, free: 139.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008065/2.302, allocations: 444 kB / 1.247 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/2.303, allocations: 238.5 kB / 1.247 GB, free: 138.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/2.305, allocations: 0.8982 MB / 1.248 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/2.306, allocations: 0.8898 MB / 1.249 GB, free: 137.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006655/2.306, allocations: 142.9 kB / 1.249 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/2.307, allocations: 188.5 kB / 1.249 GB, free: 137.2 MB / 0.6355 GB Notification: Performance of SimCode: time 1.563e-06/2.307, allocations: 4 kB / 1.249 GB, free: 137.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/2.341, allocations: 20.17 MB / 1.269 GB, free: 121.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001454/2.341, allocations: 233 kB / 1.269 GB, free: 121.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.709/5.05, allocations: 3.938 kB / 1.269 GB, free: 121.4 MB / 0.6355 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)