Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6933/0.6933, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009243/0.0009243, allocations: 183.9 kB / 187.3 MB, free: 11.87 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 221.3 MB / 441.4 MB, free: 4.613 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007483/0.0007482, allocations: 99.58 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00161/0.00161, allocations: 286.4 kB / 0.594 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.3e-05/3.302e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.328, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5969/0.9249, allocations: 360.3 MB / 1.116 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.9252, allocations: 88.31 kB / 1.116 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7429/1.668, allocations: 259 MB / 1.369 GB, free: 93.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.192e-06/1.668, allocations: 3.938 kB / 1.369 GB, free: 93.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.372e-05/1.668, allocations: 19.98 kB / 1.369 GB, free: 93.61 MB / 0.698 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.001251/1.669, allocations: 0.933 MB / 1.37 GB, free: 92.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.669, allocations: 8.031 kB / 1.37 GB, free: 92.62 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.249e-05/1.67, allocations: 70.53 kB / 1.37 GB, free: 92.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/1.671, allocations: 187 kB / 1.37 GB, free: 92.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02879/1.7, allocations: 12.01 MB / 1.382 GB, free: 80.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004005/1.7, allocations: 100.7 kB / 1.382 GB, free: 80.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.349e-05/1.7, allocations: 40 kB / 1.382 GB, free: 80.03 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008498/1.701, allocations: 466.3 kB / 1.383 GB, free: 79.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/1.701, allocations: 0 / 1.383 GB, free: 79.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.436e-05/1.701, allocations: 12 kB / 1.383 GB, free: 79.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/1.701, allocations: 16.78 kB / 1.383 GB, free: 79.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006179/1.702, allocations: 319 kB / 1.383 GB, free: 79.21 MB / 0.698 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.003047/1.705, allocations: 2.272 MB / 1.385 GB, free: 76.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005801/1.705, allocations: 271.1 kB / 1.386 GB, free: 76.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/1.706, allocations: 185.5 kB / 1.386 GB, free: 76.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000246/1.706, allocations: 348.7 kB / 1.386 GB, free: 75.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003883/1.706, allocations: 251.9 kB / 1.386 GB, free: 75.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/1.706, allocations: 0 / 1.386 GB, free: 75.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001011/1.707, allocations: 0.4904 MB / 1.387 GB, free: 75.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/1.707, allocations: 81.11 kB / 1.387 GB, free: 75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005172/1.708, allocations: 424.9 kB / 1.387 GB, free: 74.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/1.708, allocations: 41.7 kB / 1.387 GB, free: 74.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/1.708, allocations: 280.4 kB / 1.388 GB, free: 74.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.473e-05/1.708, allocations: 106.4 kB / 1.388 GB, free: 74.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/1.708, allocations: 8 kB / 1.388 GB, free: 74.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.915e-05/1.708, allocations: 358.8 kB / 1.388 GB, free: 73.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/1.709, allocations: 128 kB / 1.388 GB, free: 73.65 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/1.709, allocations: 231 kB / 1.388 GB, free: 73.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/1.709, allocations: 177.8 kB / 1.389 GB, free: 73.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.709, allocations: 0 / 1.389 GB, free: 73.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009369/1.71, allocations: 0.5264 MB / 1.389 GB, free: 72.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/1.71, allocations: 0.6453 MB / 1.39 GB, free: 71.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.71, allocations: 4 kB / 1.39 GB, free: 71.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002195/1.711, allocations: 62.52 kB / 1.39 GB, free: 71.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/1.711, allocations: 87.83 kB / 1.39 GB, free: 71.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003621/1.711, allocations: 0.5953 MB / 1.39 GB, free: 71.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007001/1.712, allocations: 83.62 kB / 1.391 GB, free: 71.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.801e-05/1.712, allocations: 24 kB / 1.391 GB, free: 71.08 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/1.712, allocations: 4 kB / 1.391 GB, free: 71.08 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009547/1.713, allocations: 485.8 kB / 1.391 GB, free: 70.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/1.713, allocations: 0 / 1.391 GB, free: 70.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001718/1.713, allocations: 57.02 kB / 1.391 GB, free: 70.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/1.714, allocations: 79.88 kB / 1.391 GB, free: 70.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/1.715, allocations: 1.619 MB / 1.393 GB, free: 68.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006613/1.716, allocations: 79.69 kB / 1.393 GB, free: 68.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/1.716, allocations: 27.94 kB / 1.393 GB, free: 68.58 MB / 0.698 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.0001595/1.716, allocations: 155.4 kB / 1.393 GB, free: 68.42 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/1.716, allocations: 59.33 kB / 1.393 GB, free: 68.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/1.717, allocations: 0.5761 MB / 1.394 GB, free: 67.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.717, allocations: 4 kB / 1.394 GB, free: 67.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/1.717, allocations: 192 / 1.394 GB, free: 67.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008699/1.718, allocations: 0.7197 MB / 1.394 GB, free: 66.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/1.72, allocations: 1.233 MB / 1.396 GB, free: 65.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.72, allocations: 4 kB / 1.396 GB, free: 65.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004231/1.721, allocations: 72.03 kB / 1.396 GB, free: 65.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/1.721, allocations: 44.78 kB / 1.396 GB, free: 65.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/1.721, allocations: 12 kB / 1.396 GB, free: 65.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002662/1.721, allocations: 0.568 MB / 1.396 GB, free: 64.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.721, allocations: 7.984 kB / 1.396 GB, free: 64.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/1.722, allocations: 0.8949 MB / 1.397 GB, free: 63.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/1.723, allocations: 184.3 kB / 1.397 GB, free: 63.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.93e-05/1.723, allocations: 8 kB / 1.397 GB, free: 63.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007091/1.723, allocations: 60 kB / 1.397 GB, free: 63.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/1.724, allocations: 35.86 kB / 1.397 GB, free: 63.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.659e-05/1.724, allocations: 27.97 kB / 1.397 GB, free: 63.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004047/1.724, allocations: 333.6 kB / 1.398 GB, free: 63.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/1.724, allocations: 0 / 1.398 GB, free: 63.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001466/1.725, allocations: 383.4 kB / 1.398 GB, free: 62.95 MB / 0.698 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.002126/1.728, allocations: 1.9 MB / 1.4 GB, free: 61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001467/1.729, allocations: 0.8532 MB / 1.401 GB, free: 60.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/1.729, allocations: 0 / 1.401 GB, free: 60.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000396/1.73, allocations: 274.4 kB / 1.401 GB, free: 59.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/1.731, allocations: 246.3 kB / 1.401 GB, free: 59.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/1.733, allocations: 0.9416 MB / 1.402 GB, free: 58.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/1.734, allocations: 0.895 MB / 1.403 GB, free: 57.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008898/1.735, allocations: 160.3 kB / 1.403 GB, free: 57.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/1.735, allocations: 187.4 kB / 1.403 GB, free: 57.34 MB / 0.698 GB Notification: Performance of SimCode: time 3.5e-07/1.735, allocations: 3.938 kB / 1.403 GB, free: 57.34 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03658/1.772, allocations: 18.87 MB / 1.422 GB, free: 38.75 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/1.772, allocations: 247 kB / 1.422 GB, free: 38.43 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/4.165, allocations: 4 kB / 1.422 GB, free: 38.42 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_ConservationEquation.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)