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.001022/0.001022, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7593/0.7593, allocations: 133.6 MB / 141.6 MB, free: 2.918 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.0008404/0.0008404, allocations: 106.4 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.248e-05/3.25e-05, allocations: 8 kB / 0.5535 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.516/0.5161, allocations: 82.3 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8894/1.406, allocations: 362.4 MB / 0.9878 GB, free: 6.031 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/1.406, allocations: 88.52 kB / 0.9879 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.009/2.415, allocations: 257.4 MB / 1.239 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.553e-06/2.415, allocations: 4 kB / 1.239 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.031e-05/2.415, allocations: 16 kB / 1.239 GB, free: 100.3 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.00221/2.417, allocations: 0.9311 MB / 1.24 GB, free: 99.33 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/2.418, allocations: 8.031 kB / 1.24 GB, free: 99.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009967/2.419, allocations: 183 kB / 1.24 GB, free: 99.14 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02294/2.441, allocations: 11.98 MB / 1.252 GB, free: 86.99 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003281/2.442, allocations: 84.72 kB / 1.252 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/2.442, allocations: 24 kB / 1.252 GB, free: 86.88 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006504/2.443, allocations: 289.5 kB / 1.253 GB, free: 86.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006626/2.443, allocations: 412.7 kB / 1.253 GB, free: 86.17 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/2.443, allocations: 0 / 1.253 GB, free: 86.17 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.175e-05/2.443, allocations: 0 / 1.253 GB, free: 86.17 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/2.444, allocations: 16.73 kB / 1.253 GB, free: 86.16 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.002881/2.446, allocations: 2.189 MB / 1.255 GB, free: 83.77 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004293/2.447, allocations: 262.8 kB / 1.255 GB, free: 83.51 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/2.447, allocations: 181 kB / 1.255 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002576/2.447, allocations: 344.6 kB / 1.256 GB, free: 82.92 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003017/2.448, allocations: 242.8 kB / 1.256 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 1.804e-06/2.448, allocations: 3.938 kB / 1.256 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.00111/2.449, allocations: 485.8 kB / 1.257 GB, free: 82.18 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/2.449, allocations: 93.11 kB / 1.257 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/2.449, allocations: 369.3 kB / 1.257 GB, free: 81.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/2.449, allocations: 25.7 kB / 1.257 GB, free: 81.67 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/2.449, allocations: 280.2 kB / 1.257 GB, free: 81.39 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.17e-05/2.45, allocations: 98.56 kB / 1.257 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/2.45, allocations: 0 / 1.257 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.839e-05/2.45, allocations: 362.8 kB / 1.258 GB, free: 80.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/2.45, allocations: 116 kB / 1.258 GB, free: 80.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/2.45, allocations: 223 kB / 1.258 GB, free: 80.56 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/2.45, allocations: 155.9 kB / 1.258 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/2.45, allocations: 0 / 1.258 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008857/2.451, allocations: 0.5017 MB / 1.259 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/2.451, allocations: 0.649 MB / 1.259 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/2.452, allocations: 0 / 1.259 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/2.452, allocations: 48.84 kB / 1.259 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/2.452, allocations: 91.83 kB / 1.259 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003667/2.452, allocations: 0.5953 MB / 1.26 GB, free: 78.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/2.453, allocations: 79.72 kB / 1.26 GB, free: 78.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/2.453, allocations: 19.92 kB / 1.26 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/2.453, allocations: 4 kB / 1.26 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007843/2.454, allocations: 428.3 kB / 1.261 GB, free: 77.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/2.454, allocations: 192 / 1.261 GB, free: 77.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001413/2.454, allocations: 48.83 kB / 1.261 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/2.454, allocations: 91.88 kB / 1.261 GB, free: 77.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/2.456, allocations: 1.552 MB / 1.262 GB, free: 76.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005644/2.456, allocations: 75.91 kB / 1.262 GB, free: 76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/2.456, allocations: 23.98 kB / 1.262 GB, free: 75.98 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.0001623/2.456, allocations: 151.4 kB / 1.262 GB, free: 75.82 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008103/2.457, allocations: 477.5 kB / 1.263 GB, free: 75.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.225e-05/2.457, allocations: 59.33 kB / 1.263 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009099/2.458, allocations: 0.507 MB / 1.263 GB, free: 74.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/2.458, allocations: 8 kB / 1.263 GB, free: 74.75 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/2.458, allocations: 8.047 kB / 1.263 GB, free: 74.75 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000767/2.459, allocations: 0.6881 MB / 1.264 GB, free: 73.99 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/2.461, allocations: 1.122 MB / 1.265 GB, free: 72.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/2.461, allocations: 4 kB / 1.265 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/2.461, allocations: 63.95 kB / 1.265 GB, free: 72.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.043e-05/2.461, allocations: 40.89 kB / 1.265 GB, free: 72.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/2.461, allocations: 11.98 kB / 1.265 GB, free: 72.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002724/2.461, allocations: 0.5719 MB / 1.266 GB, free: 72.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/2.461, allocations: 4.031 kB / 1.266 GB, free: 72.09 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/2.463, allocations: 0.8385 MB / 1.267 GB, free: 71.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/2.463, allocations: 184.3 kB / 1.267 GB, free: 71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.088e-05/2.463, allocations: 8.047 kB / 1.267 GB, free: 70.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005564/2.464, allocations: 67.84 kB / 1.267 GB, free: 70.93 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/2.464, allocations: 15.98 kB / 1.267 GB, free: 70.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/2.464, allocations: 32.03 kB / 1.267 GB, free: 70.88 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003236/2.464, allocations: 283 kB / 1.267 GB, free: 70.61 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.212e-06/2.464, allocations: 0 / 1.267 GB, free: 70.61 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001361/2.465, allocations: 371.3 kB / 1.268 GB, free: 70.24 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.002292/2.468, allocations: 1.857 MB / 1.269 GB, free: 68.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001164/2.469, allocations: 0.8113 MB / 1.27 GB, free: 67.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/2.469, allocations: 0.75 kB / 1.27 GB, free: 67.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003083/2.469, allocations: 265.4 kB / 1.27 GB, free: 67.23 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/2.47, allocations: 228.8 kB / 1.271 GB, free: 67.01 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/2.472, allocations: 0.914 MB / 1.272 GB, free: 66.05 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/2.473, allocations: 0.8909 MB / 1.272 GB, free: 65.13 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006241/2.473, allocations: 152.2 kB / 1.273 GB, free: 64.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/2.474, allocations: 195.3 kB / 1.273 GB, free: 64.79 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/2.474, allocations: 0 / 1.273 GB, free: 64.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03797/2.512, allocations: 15.97 MB / 1.288 GB, free: 48.93 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/2.512, allocations: 160.3 kB / 1.289 GB, free: 48.74 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/5.23, allocations: 4 kB / 1.289 GB, free: 48.74 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)