Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="IDEAS_IDEAS_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.001796/0.001796, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8526/0.8526, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 221.3 MB / 400.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009893/0.0009893, allocations: 94.23 kB / 483.3 MB, free: 5.828 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.582e-05/3.585e-05, allocations: 3.75 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1803, allocations: 82.31 MB / 0.6405 GB, free: 7.699 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.248/1.428, allocations: 363.1 MB / 0.9951 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/1.429, allocations: 89.19 kB / 0.9952 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9898/2.418, allocations: 259.1 MB / 1.248 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.924e-06/2.418, allocations: 0 / 1.248 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.281e-05/2.418, allocations: 23.3 kB / 1.248 GB, free: 168.5 MB / 0.6823 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.001804/2.42, allocations: 0.9169 MB / 1.249 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/2.42, allocations: 8.906 kB / 1.249 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.527e-05/2.42, allocations: 76.02 kB / 1.249 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000846/2.421, allocations: 185.3 kB / 1.249 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02668/2.448, allocations: 12.02 MB / 1.261 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004266/2.448, allocations: 95.81 kB / 1.261 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/2.449, allocations: 41.38 kB / 1.261 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008696/2.449, allocations: 460.5 kB / 1.262 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/2.45, allocations: 0 / 1.262 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/2.45, allocations: 18.16 kB / 1.262 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.391e-05/2.45, allocations: 19.91 kB / 1.262 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/2.45, allocations: 319.7 kB / 1.262 GB, free: 167.3 MB / 0.6823 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.003241/2.453, allocations: 2.276 MB / 1.264 GB, free: 166 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/2.454, allocations: 269 kB / 1.264 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/2.454, allocations: 177.9 kB / 1.265 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/2.454, allocations: 341.4 kB / 1.265 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003658/2.455, allocations: 258.6 kB / 1.265 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.915e-06/2.455, allocations: 3.25 kB / 1.265 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.0009732/2.456, allocations: 0.4903 MB / 1.266 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/2.456, allocations: 80.98 kB / 1.266 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004569/2.456, allocations: 428.1 kB / 1.266 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/2.456, allocations: 32.77 kB / 1.266 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/2.457, allocations: 283.6 kB / 1.266 GB, free: 165 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.817e-05/2.457, allocations: 104.1 kB / 1.267 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/2.457, allocations: 7.312 kB / 1.267 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001238/2.457, allocations: 362.8 kB / 1.267 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/2.457, allocations: 130.9 kB / 1.267 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/2.457, allocations: 223.5 kB / 1.267 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/2.458, allocations: 177.3 kB / 1.267 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/2.458, allocations: 0 / 1.267 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007663/2.458, allocations: 0.5264 MB / 1.268 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002066/2.459, allocations: 0.6486 MB / 1.269 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/2.459, allocations: 3.844 kB / 1.269 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000218/2.459, allocations: 59.02 kB / 1.269 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/2.459, allocations: 84.84 kB / 1.269 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000364/2.46, allocations: 0.5942 MB / 1.269 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006032/2.46, allocations: 82.2 kB / 1.269 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.02e-05/2.46, allocations: 22.61 kB / 1.269 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/2.46, allocations: 3.875 kB / 1.269 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007722/2.461, allocations: 482.8 kB / 1.27 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/2.461, allocations: 3.938 kB / 1.27 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/2.461, allocations: 50.73 kB / 1.27 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/2.462, allocations: 80.95 kB / 1.27 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/2.463, allocations: 1.633 MB / 1.272 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005487/2.464, allocations: 87.12 kB / 1.272 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/2.464, allocations: 24.28 kB / 1.272 GB, free: 161.7 MB / 0.6823 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.0001839/2.464, allocations: 155.3 kB / 1.272 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.39e-05/2.464, allocations: 57.53 kB / 1.272 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009786/2.465, allocations: 0.5851 MB / 1.272 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/2.465, allocations: 3.781 kB / 1.272 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/2.465, allocations: 0 / 1.272 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007537/2.466, allocations: 0.717 MB / 1.273 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/2.468, allocations: 1.232 MB / 1.274 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/2.468, allocations: 5.938 kB / 1.274 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/2.468, allocations: 69.14 kB / 1.274 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/2.468, allocations: 46.61 kB / 1.275 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/2.468, allocations: 14.12 kB / 1.275 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002889/2.468, allocations: 0.5828 MB / 1.275 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/2.468, allocations: 2.531 kB / 1.275 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/2.469, allocations: 0.8852 MB / 1.276 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/2.47, allocations: 188.1 kB / 1.276 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.987e-05/2.47, allocations: 10.25 kB / 1.276 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005483/2.47, allocations: 71.73 kB / 1.276 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/2.47, allocations: 22.95 kB / 1.276 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/2.471, allocations: 23.02 kB / 1.276 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003488/2.471, allocations: 334.5 kB / 1.277 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/2.471, allocations: 0.5312 kB / 1.277 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001414/2.472, allocations: 382.9 kB / 1.277 GB, free: 159.6 MB / 0.6823 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.001929/2.474, allocations: 1.901 MB / 1.279 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001227/2.475, allocations: 0.8459 MB / 1.28 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/2.476, allocations: 0 / 1.28 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003231/2.476, allocations: 274.3 kB / 1.28 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/2.477, allocations: 235.1 kB / 1.28 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/2.479, allocations: 0.952 MB / 1.281 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/2.479, allocations: 0.8921 MB / 1.282 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006372/2.48, allocations: 153.3 kB / 1.282 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/2.48, allocations: 193.8 kB / 1.282 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of SimCode: time 8.32e-07/2.48, allocations: 0 / 1.282 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03399/2.514, allocations: 18.85 MB / 1.301 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/2.514, allocations: 229.4 kB / 1.301 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.677/5.191, allocations: 0 / 1.301 GB, free: 156.6 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_ConservationEquation.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)