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.0073/0.007301, allocations: 169.2 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7693/0.7693, allocations: 135.2 MB / 151 MB, free: 13.83 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.625/1.625, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.001288/0.001288, allocations: 101.1 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006161/0.0006163, allocations: 12 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5559/0.5565, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9067/1.463, allocations: 363.1 MB / 1.004 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/1.464, allocations: 88.58 kB / 1.004 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.9719/2.435, allocations: 259.8 MB / 1.258 GB, free: 65.21 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.816e-06/2.436, allocations: 4 kB / 1.258 GB, free: 65.21 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.441e-05/2.436, allocations: 19.98 kB / 1.258 GB, free: 65.19 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.002171/2.438, allocations: 1.035 MB / 1.259 GB, free: 64.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/2.438, allocations: 8.031 kB / 1.259 GB, free: 64.09 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.183e-05/2.438, allocations: 78.52 kB / 1.259 GB, free: 64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007688/2.439, allocations: 183 kB / 1.259 GB, free: 63.82 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02203/2.461, allocations: 12.08 MB / 1.271 GB, free: 51.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003207/2.461, allocations: 92.94 kB / 1.271 GB, free: 51.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-05/2.461, allocations: 40 kB / 1.271 GB, free: 51.44 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009813/2.462, allocations: 0.5046 MB / 1.272 GB, free: 50.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/2.462, allocations: 4 kB / 1.272 GB, free: 50.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.861e-05/2.462, allocations: 19.98 kB / 1.272 GB, free: 50.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/2.462, allocations: 16.61 kB / 1.272 GB, free: 50.87 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008635/2.463, allocations: 430.6 kB / 1.272 GB, free: 50.45 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002847/2.466, allocations: 2.257 MB / 1.274 GB, free: 47.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009289/2.467, allocations: 386.9 kB / 1.275 GB, free: 47.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002663/2.467, allocations: 344.6 kB / 1.275 GB, free: 47.19 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005417/2.468, allocations: 304.1 kB / 1.275 GB, free: 46.87 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.434e-06/2.468, allocations: 0 / 1.275 GB, free: 46.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.002007/2.47, allocations: 0.9748 MB / 1.276 GB, free: 45.85 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/2.47, allocations: 81.11 kB / 1.276 GB, free: 45.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/2.47, allocations: 430.1 kB / 1.277 GB, free: 45.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/2.47, allocations: 37.7 kB / 1.277 GB, free: 45.28 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/2.471, allocations: 280.4 kB / 1.277 GB, free: 45 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/2.471, allocations: 106.5 kB / 1.277 GB, free: 44.89 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/2.471, allocations: 12 kB / 1.277 GB, free: 44.88 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.673e-05/2.471, allocations: 362.7 kB / 1.278 GB, free: 44.52 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003806/2.471, allocations: 179.9 kB / 1.278 GB, free: 44.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/2.472, allocations: 287.3 kB / 1.278 GB, free: 44.02 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/2.472, allocations: 235 kB / 1.278 GB, free: 43.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/2.472, allocations: 0 / 1.278 GB, free: 43.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001132/2.473, allocations: 0.63 MB / 1.279 GB, free: 43.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002072/2.473, allocations: 0.6455 MB / 1.279 GB, free: 42.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/2.473, allocations: 4 kB / 1.279 GB, free: 42.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000227/2.474, allocations: 52.81 kB / 1.28 GB, free: 42.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/2.474, allocations: 91.88 kB / 1.28 GB, free: 42.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003811/2.474, allocations: 0.5952 MB / 1.28 GB, free: 41.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006164/2.475, allocations: 83.72 kB / 1.28 GB, free: 41.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/2.475, allocations: 19.98 kB / 1.28 GB, free: 41.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/2.475, allocations: 4 kB / 1.28 GB, free: 41.57 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001116/2.476, allocations: 0.5722 MB / 1.281 GB, free: 40.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/2.476, allocations: 0 / 1.281 GB, free: 40.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001479/2.476, allocations: 52.83 kB / 1.281 GB, free: 40.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/2.477, allocations: 84.03 kB / 1.281 GB, free: 40.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/2.478, allocations: 1.639 MB / 1.283 GB, free: 39.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005468/2.479, allocations: 79.94 kB / 1.283 GB, free: 38.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/2.479, allocations: 20 kB / 1.283 GB, free: 38.96 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 () * Number of clocked 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.0004027/2.479, allocations: 299.9 kB / 1.283 GB, free: 38.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.427e-05/2.479, allocations: 63.23 kB / 1.283 GB, free: 38.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/2.48, allocations: 0.6728 MB / 1.284 GB, free: 37.91 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/2.48, allocations: 4 kB / 1.284 GB, free: 37.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/2.48, allocations: 0 / 1.284 GB, free: 37.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001119/2.482, allocations: 0.8248 MB / 1.284 GB, free: 37 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/2.484, allocations: 1.339 MB / 1.286 GB, free: 35.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/2.484, allocations: 4 kB / 1.286 GB, free: 35.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000333/2.484, allocations: 67.98 kB / 1.286 GB, free: 35.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001249/2.484, allocations: 44.83 kB / 1.286 GB, free: 35.47 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.48e-05/2.484, allocations: 12 kB / 1.286 GB, free: 35.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002765/2.484, allocations: 0.5758 MB / 1.286 GB, free: 34.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/2.484, allocations: 8 kB / 1.286 GB, free: 34.85 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/2.486, allocations: 1.047 MB / 1.288 GB, free: 33.75 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002755/2.486, allocations: 184.3 kB / 1.288 GB, free: 33.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.871e-05/2.486, allocations: 8 kB / 1.288 GB, free: 33.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005568/2.487, allocations: 79.89 kB / 1.288 GB, free: 33.46 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/2.487, allocations: 23.91 kB / 1.288 GB, free: 33.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/2.487, allocations: 23.98 kB / 1.288 GB, free: 33.41 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000372/2.487, allocations: 342.8 kB / 1.288 GB, free: 33.08 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.41e-07/2.487, allocations: 0 / 1.288 GB, free: 33.08 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001368/2.489, allocations: 375.5 kB / 1.289 GB, free: 32.71 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) * Number of clocked states: 0 () * 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.00261/2.491, allocations: 2.063 MB / 1.291 GB, free: 30.61 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001902/2.493, allocations: 0.9894 MB / 1.291 GB, free: 29.58 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/2.493, allocations: 4.062 kB / 1.291 GB, free: 29.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005322/2.494, allocations: 335.7 kB / 1.292 GB, free: 29.23 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/2.495, allocations: 235.9 kB / 1.292 GB, free: 29.01 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005412/2.501, allocations: 4.351 MB / 1.296 GB, free: 24.56 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/2.501, allocations: 0.8901 MB / 1.297 GB, free: 23.64 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005908/2.502, allocations: 128.4 kB / 1.297 GB, free: 23.52 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/2.502, allocations: 199.4 kB / 1.297 GB, free: 23.32 MB / 0.6823 GB Notification: Performance of SimCode: time 9.61e-07/2.502, allocations: 0 / 1.297 GB, free: 23.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/2.536, allocations: 17.84 MB / 1.315 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/2.536, allocations: 251.5 kB / 1.315 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.835/5.371, allocations: 0 / 1.315 GB, free: 5.445 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)