Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="IDEAS_dev_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.002481/0.002481, allocations: 175 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.792/0.792, 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.556/1.556, allocations: 221.3 MB / 400.4 MB, free: 5.824 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.000969/0.0009689, allocations: 99.33 kB / 483.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.329e-05/5.364e-05, allocations: 4.062 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2224, allocations: 82.31 MB / 0.6405 GB, free: 7.699 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.39/1.612, allocations: 363.1 MB / 0.9951 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/1.613, allocations: 85.36 kB / 0.9952 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9452/2.558, allocations: 259.1 MB / 1.248 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.044e-06/2.558, allocations: 0 / 1.248 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.324e-05/2.558, allocations: 18.88 kB / 1.248 GB, free: 169.4 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.002083/2.56, allocations: 0.9249 MB / 1.249 GB, free: 169 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/2.56, allocations: 9.688 kB / 1.249 GB, free: 169 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.42e-05/2.56, allocations: 76.97 kB / 1.249 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009354/2.561, allocations: 177 kB / 1.249 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03063/2.592, allocations: 12.03 MB / 1.261 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003998/2.592, allocations: 96.75 kB / 1.261 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/2.593, allocations: 38.88 kB / 1.261 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/2.594, allocations: 457.7 kB / 1.262 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/2.594, allocations: 3.219 kB / 1.262 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/2.594, allocations: 20.47 kB / 1.262 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/2.594, allocations: 15.73 kB / 1.262 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006611/2.595, allocations: 318.1 kB / 1.262 GB, free: 168.2 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.003363/2.598, allocations: 2.27 MB / 1.264 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004752/2.598, allocations: 270.3 kB / 1.264 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/2.599, allocations: 184.7 kB / 1.265 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/2.599, allocations: 340.2 kB / 1.265 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003589/2.599, allocations: 258.9 kB / 1.265 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.464e-06/2.599, allocations: 0 / 1.265 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.0009659/2.6, allocations: 492.9 kB / 1.266 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/2.6, allocations: 91.17 kB / 1.266 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006472/2.601, allocations: 422.5 kB / 1.266 GB, free: 166 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.231e-05/2.601, allocations: 32.73 kB / 1.266 GB, free: 166 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/2.601, allocations: 280.4 kB / 1.266 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/2.602, allocations: 118.7 kB / 1.267 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/2.602, allocations: 5.875 kB / 1.267 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001359/2.602, allocations: 363.4 kB / 1.267 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/2.602, allocations: 124.2 kB / 1.267 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/2.602, allocations: 230.7 kB / 1.267 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/2.602, allocations: 168.5 kB / 1.267 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/2.602, allocations: 0 / 1.267 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009976/2.603, allocations: 0.5287 MB / 1.268 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00018/2.604, allocations: 0.6483 MB / 1.269 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/2.604, allocations: 2.156 kB / 1.269 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002363/2.604, allocations: 62.06 kB / 1.269 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/2.604, allocations: 86.61 kB / 1.269 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004256/2.605, allocations: 0.5943 MB / 1.269 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007747/2.606, allocations: 83.66 kB / 1.269 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/2.606, allocations: 21.7 kB / 1.269 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/2.606, allocations: 4.062 kB / 1.269 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009581/2.607, allocations: 479.5 kB / 1.27 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/2.607, allocations: 1.406 kB / 1.27 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001743/2.607, allocations: 49.58 kB / 1.27 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/2.607, allocations: 83.81 kB / 1.27 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/2.609, allocations: 1.621 MB / 1.272 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006419/2.609, allocations: 89.05 kB / 1.272 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.638e-05/2.609, allocations: 16.88 kB / 1.272 GB, free: 162.6 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.0002075/2.61, allocations: 162.4 kB / 1.272 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/2.61, allocations: 55.44 kB / 1.272 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/2.611, allocations: 0.581 MB / 1.272 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/2.611, allocations: 6.531 kB / 1.272 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/2.611, allocations: 0.9688 kB / 1.272 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008054/2.612, allocations: 0.7229 MB / 1.273 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/2.614, allocations: 1.229 MB / 1.274 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/2.614, allocations: 1.438 kB / 1.274 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/2.614, allocations: 73.58 kB / 1.274 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001637/2.614, allocations: 50.02 kB / 1.274 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/2.614, allocations: 9.906 kB / 1.275 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003772/2.615, allocations: 0.5767 MB / 1.275 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/2.615, allocations: 1.281 kB / 1.275 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/2.616, allocations: 0.8864 MB / 1.276 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004157/2.617, allocations: 189.2 kB / 1.276 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-05/2.617, allocations: 9.469 kB / 1.276 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005848/2.618, allocations: 74.2 kB / 1.276 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/2.618, allocations: 25.27 kB / 1.276 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.258e-05/2.618, allocations: 20.92 kB / 1.276 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000425/2.618, allocations: 340.1 kB / 1.277 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/2.618, allocations: 0 / 1.277 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001674/2.62, allocations: 383.3 kB / 1.277 GB, free: 160.5 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.002341/2.622, allocations: 1.903 MB / 1.279 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001482/2.624, allocations: 0.8504 MB / 1.28 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/2.624, allocations: 0 / 1.28 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003931/2.624, allocations: 280.9 kB / 1.28 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/2.626, allocations: 240.2 kB / 1.28 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/2.628, allocations: 0.9405 MB / 1.281 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/2.628, allocations: 0.8921 MB / 1.282 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007344/2.629, allocations: 158.2 kB / 1.282 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/2.629, allocations: 192 kB / 1.282 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of SimCode: time 7.62e-07/2.629, allocations: 0 / 1.282 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04207/2.671, allocations: 18.87 MB / 1.301 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/2.672, allocations: 220.2 kB / 1.301 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.727/5.399, allocations: 0 / 1.301 GB, free: 157.6 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ConservationEquation.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)