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.871/0.871, allocations: 141.8 MB / 149.3 MB, free: 9.195 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 179.8 kB / 182.2 MB, free: 9.465 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.553/1.553, allocations: 221.5 MB / 436.4 MB, free: 13.37 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.0009346/0.0009346, allocations: 88.11 kB / 0.5074 GB, free: 10.2 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001776/0.001776, allocations: 277.1 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.615e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.4588, allocations: 82.77 MB / 0.7575 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8153/1.274, allocations: 359.7 MB / 1.109 GB, free: 5.293 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/1.275, allocations: 86.02 kB / 1.109 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8843/2.159, allocations: 257.4 MB / 1.36 GB, free: 90.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/2.159, allocations: 0 / 1.36 GB, free: 90.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.992e-05/2.159, allocations: 20 kB / 1.36 GB, free: 90 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.001996/2.161, allocations: 0.9253 MB / 1.361 GB, free: 89.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/2.161, allocations: 8.031 kB / 1.361 GB, free: 89.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008477/2.162, allocations: 183 kB / 1.361 GB, free: 88.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02249/2.184, allocations: 11.99 MB / 1.373 GB, free: 76.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003268/2.185, allocations: 76.72 kB / 1.373 GB, free: 76.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/2.185, allocations: 24 kB / 1.373 GB, free: 76.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005627/2.185, allocations: 293.5 kB / 1.373 GB, free: 76.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006184/2.186, allocations: 408.7 kB / 1.374 GB, free: 75.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/2.186, allocations: 4 kB / 1.374 GB, free: 75.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/2.186, allocations: 3.984 kB / 1.374 GB, free: 75.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/2.186, allocations: 12.78 kB / 1.374 GB, free: 75.83 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.002781/2.189, allocations: 2.189 MB / 1.376 GB, free: 73.44 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/2.189, allocations: 262.9 kB / 1.376 GB, free: 73.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/2.19, allocations: 173 kB / 1.376 GB, free: 73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000312/2.19, allocations: 336.6 kB / 1.377 GB, free: 72.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003245/2.19, allocations: 254.8 kB / 1.377 GB, free: 72.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.275e-06/2.19, allocations: 0 / 1.377 GB, free: 72.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001273/2.192, allocations: 470 kB / 1.377 GB, free: 71.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/2.192, allocations: 85.11 kB / 1.377 GB, free: 71.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/2.192, allocations: 365.4 kB / 1.378 GB, free: 71.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/2.192, allocations: 33.64 kB / 1.378 GB, free: 71.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/2.192, allocations: 280.2 kB / 1.378 GB, free: 71.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.858e-05/2.192, allocations: 106.4 kB / 1.378 GB, free: 70.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/2.192, allocations: 4 kB / 1.378 GB, free: 70.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001137/2.193, allocations: 358.8 kB / 1.378 GB, free: 70.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/2.193, allocations: 116 kB / 1.379 GB, free: 70.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/2.193, allocations: 219.6 kB / 1.379 GB, free: 70.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/2.193, allocations: 172.8 kB / 1.379 GB, free: 70.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/2.193, allocations: 0 / 1.379 GB, free: 70.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008268/2.194, allocations: 0.4977 MB / 1.379 GB, free: 69.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001766/2.194, allocations: 0.6414 MB / 1.38 GB, free: 68.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/2.194, allocations: 4 kB / 1.38 GB, free: 68.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/2.195, allocations: 44.83 kB / 1.38 GB, free: 68.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/2.195, allocations: 87.88 kB / 1.38 GB, free: 68.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003549/2.195, allocations: 0.6031 MB / 1.381 GB, free: 68.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/2.196, allocations: 71.75 kB / 1.381 GB, free: 68.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/2.196, allocations: 19.98 kB / 1.381 GB, free: 68.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.647e-06/2.196, allocations: 4 kB / 1.381 GB, free: 68.02 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007182/2.197, allocations: 424.3 kB / 1.381 GB, free: 67.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/2.197, allocations: 3.953 kB / 1.381 GB, free: 67.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001329/2.197, allocations: 57.02 kB / 1.381 GB, free: 67.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/2.197, allocations: 75.89 kB / 1.381 GB, free: 67.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/2.198, allocations: 1.579 MB / 1.383 GB, free: 65.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004947/2.199, allocations: 67.78 kB / 1.383 GB, free: 65.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/2.199, allocations: 20 kB / 1.383 GB, free: 65.67 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.0001431/2.199, allocations: 149.1 kB / 1.383 GB, free: 65.52 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007229/2.2, allocations: 477.5 kB / 1.384 GB, free: 65.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-05/2.2, allocations: 59.3 kB / 1.384 GB, free: 64.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008669/2.201, allocations: 0.5293 MB / 1.384 GB, free: 64.44 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/2.201, allocations: 4 kB / 1.384 GB, free: 64.44 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/2.201, allocations: 4 kB / 1.384 GB, free: 64.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006949/2.201, allocations: 0.6825 MB / 1.385 GB, free: 63.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/2.203, allocations: 1.122 MB / 1.386 GB, free: 62.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/2.203, allocations: 3.984 kB / 1.386 GB, free: 62.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/2.203, allocations: 67.89 kB / 1.386 GB, free: 62.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.192e-05/2.203, allocations: 40.94 kB / 1.386 GB, free: 62.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/2.203, allocations: 7.984 kB / 1.386 GB, free: 62.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002327/2.204, allocations: 0.5795 MB / 1.387 GB, free: 61.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/2.204, allocations: 0 / 1.387 GB, free: 61.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009736/2.205, allocations: 0.8499 MB / 1.387 GB, free: 60.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/2.205, allocations: 176.4 kB / 1.388 GB, free: 60.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/2.205, allocations: 7.953 kB / 1.388 GB, free: 60.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005226/2.205, allocations: 67.97 kB / 1.388 GB, free: 60.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/2.205, allocations: 23.97 kB / 1.388 GB, free: 60.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.13e-05/2.205, allocations: 23.98 kB / 1.388 GB, free: 60.56 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002498/2.206, allocations: 282.9 kB / 1.388 GB, free: 60.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/2.206, allocations: 0 / 1.388 GB, free: 60.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001217/2.207, allocations: 375.2 kB / 1.388 GB, free: 59.92 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.001834/2.209, allocations: 1.847 MB / 1.39 GB, free: 58.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00106/2.21, allocations: 0.8236 MB / 1.391 GB, free: 57.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/2.21, allocations: 0 / 1.391 GB, free: 57.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002749/2.21, allocations: 263.9 kB / 1.391 GB, free: 56.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/2.211, allocations: 216.4 kB / 1.391 GB, free: 56.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/2.213, allocations: 0.9149 MB / 1.392 GB, free: 55.74 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/2.213, allocations: 0.8948 MB / 1.393 GB, free: 54.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005941/2.214, allocations: 156.1 kB / 1.393 GB, free: 54.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/2.214, allocations: 187.4 kB / 1.394 GB, free: 54.48 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/2.214, allocations: 0 / 1.394 GB, free: 54.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03601/2.25, allocations: 15.98 MB / 1.409 GB, free: 38.62 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/2.251, allocations: 200.6 kB / 1.409 GB, free: 38.41 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.647/4.897, allocations: 0 / 1.409 GB, free: 38.41 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)