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.7832/0.7832, allocations: 127.4 MB / 134.9 MB, free: 3.465 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.001041/0.001041, allocations: 175.5 kB / 164.6 MB, free: 11.62 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.983/1.983, allocations: 205.2 MB / 399.5 MB, free: 13.51 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.001048/0.001048, allocations: 95.12 kB / 476.7 MB, free: 1.469 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.39e-05/2.407e-05, allocations: 5.062 kB / 0.5467 GB, free: 95.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1894, allocations: 76.77 MB / 0.6216 GB, free: 42.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8321/1.022, allocations: 348.8 MB / 0.9623 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/1.022, allocations: 87.41 kB / 0.9623 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.8294/1.851, allocations: 246.5 MB / 1.203 GB, free: 57.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.793e-06/1.851, allocations: 4 kB / 1.203 GB, free: 57.98 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.923e-05/1.851, allocations: 19.98 kB / 1.203 GB, free: 57.96 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.001532/1.853, allocations: 0.9177 MB / 1.204 GB, free: 56.99 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/1.853, allocations: 8.031 kB / 1.204 GB, free: 56.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007599/1.854, allocations: 179.1 kB / 1.204 GB, free: 56.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02022/1.874, allocations: 11.33 MB / 1.215 GB, free: 45.31 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000312/1.874, allocations: 76.72 kB / 1.215 GB, free: 45.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.328e-05/1.874, allocations: 24 kB / 1.215 GB, free: 45.21 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004866/1.875, allocations: 297.5 kB / 1.216 GB, free: 44.92 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/1.875, allocations: 396.7 kB / 1.216 GB, free: 44.51 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/1.875, allocations: 0 / 1.216 GB, free: 44.51 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/1.876, allocations: 4 kB / 1.216 GB, free: 44.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/1.876, allocations: 8 kB / 1.216 GB, free: 44.5 MB / 0.6511 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.002596/1.878, allocations: 2.342 MB / 1.218 GB, free: 41.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/1.879, allocations: 280 kB / 1.219 GB, free: 41.63 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/1.879, allocations: 153 kB / 1.219 GB, free: 41.48 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/1.879, allocations: 174.2 kB / 1.219 GB, free: 41.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002651/1.879, allocations: 233 kB / 1.219 GB, free: 41.03 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=29): time 3.106e-06/1.879, allocations: 96 / 1.219 GB, free: 41.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29): time 0.003586/1.883, allocations: 0.8112 MB / 1.22 GB, free: 40.21 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/1.883, allocations: 85.05 kB / 1.22 GB, free: 40.11 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/1.883, allocations: 369.4 kB / 1.22 GB, free: 39.74 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/1.883, allocations: 29.64 kB / 1.22 GB, free: 39.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/1.883, allocations: 296 kB / 1.221 GB, free: 39.41 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.918e-05/1.883, allocations: 94.59 kB / 1.221 GB, free: 39.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/1.884, allocations: 0 / 1.221 GB, free: 39.32 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.64e-05/1.884, allocations: 362.7 kB / 1.221 GB, free: 38.95 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/1.884, allocations: 132 kB / 1.221 GB, free: 38.82 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/1.884, allocations: 231.8 kB / 1.221 GB, free: 38.55 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/1.884, allocations: 170.5 kB / 1.222 GB, free: 38.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.884, allocations: 4 kB / 1.222 GB, free: 38.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.003045/1.887, allocations: 0.8125 MB / 1.222 GB, free: 37.56 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001879/1.888, allocations: 0.7321 MB / 1.223 GB, free: 36.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.888, allocations: 4 kB / 1.223 GB, free: 36.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/1.888, allocations: 72.81 kB / 1.223 GB, free: 36.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/1.888, allocations: 87.88 kB / 1.223 GB, free: 36.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008134/1.889, allocations: 0.7045 MB / 1.224 GB, free: 35.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006529/1.89, allocations: 91.77 kB / 1.224 GB, free: 35.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/1.89, allocations: 19.98 kB / 1.224 GB, free: 35.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/1.89, allocations: 5.719 kB / 1.224 GB, free: 35.76 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007449/1.891, allocations: 424.7 kB / 1.224 GB, free: 35.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/1.891, allocations: 7.938 kB / 1.224 GB, free: 35.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/1.891, allocations: 44.83 kB / 1.224 GB, free: 35.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/1.891, allocations: 92 kB / 1.225 GB, free: 35.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/1.892, allocations: 1.571 MB / 1.226 GB, free: 33.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/1.893, allocations: 67.88 kB / 1.226 GB, free: 33.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/1.893, allocations: 19.98 kB / 1.226 GB, free: 33.41 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 () * 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.0001587/1.893, allocations: 150.6 kB / 1.226 GB, free: 33.25 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002635/1.896, allocations: 0.7124 MB / 1.227 GB, free: 32.53 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/1.896, allocations: 55.34 kB / 1.227 GB, free: 32.47 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/1.898, allocations: 0.7648 MB / 1.228 GB, free: 31.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/1.898, allocations: 0 / 1.228 GB, free: 31.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/1.898, allocations: 4 kB / 1.228 GB, free: 31.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002617/1.901, allocations: 0.9208 MB / 1.229 GB, free: 30.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003507/1.905, allocations: 1.307 MB / 1.23 GB, free: 29.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.905, allocations: 0 / 1.23 GB, free: 29.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/1.905, allocations: 71.88 kB / 1.23 GB, free: 29.28 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001478/1.905, allocations: 68.86 kB / 1.23 GB, free: 29.21 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/1.905, allocations: 7.984 kB / 1.23 GB, free: 29.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004662/1.91, allocations: 2.133 MB / 1.232 GB, free: 26.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.91, allocations: 3.953 kB / 1.232 GB, free: 26.93 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003077/1.913, allocations: 1.012 MB / 1.233 GB, free: 25.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003203/1.913, allocations: 180.3 kB / 1.233 GB, free: 25.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.02e-05/1.913, allocations: 7.984 kB / 1.233 GB, free: 25.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005963/1.914, allocations: 75.84 kB / 1.233 GB, free: 25.62 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/1.914, allocations: 23.95 kB / 1.233 GB, free: 25.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/1.914, allocations: 15.98 kB / 1.233 GB, free: 25.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003345/1.914, allocations: 294.9 kB / 1.234 GB, free: 25.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.1e-07/1.914, allocations: 0 / 1.234 GB, free: 25.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001579/1.916, allocations: 391.4 kB / 1.234 GB, free: 24.92 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) * 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.003798/1.92, allocations: 1.84 MB / 1.236 GB, free: 23.06 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001532/1.921, allocations: 0.8663 MB / 1.237 GB, free: 22.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.921, allocations: 0 / 1.237 GB, free: 22.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007312/1.922, allocations: 430.2 kB / 1.237 GB, free: 21.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/1.923, allocations: 216.9 kB / 1.237 GB, free: 21.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/1.925, allocations: 0.8656 MB / 1.238 GB, free: 20.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/1.926, allocations: 0.8904 MB / 1.239 GB, free: 19.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006024/1.926, allocations: 132.1 kB / 1.239 GB, free: 19.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/1.926, allocations: 187.4 kB / 1.239 GB, free: 19.37 MB / 0.6511 GB Notification: Performance of SimCode: time 7.12e-07/1.926, allocations: 3.938 kB / 1.239 GB, free: 19.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03978/1.966, allocations: 17.08 MB / 1.256 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/1.966, allocations: 187.7 kB / 1.256 GB, free: 2.176 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.578/4.545, allocations: 0 / 1.256 GB, free: 2.176 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)