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/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009673/0.0009673, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9026/0.9026, allocations: 135.3 MB / 426.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002965, allocations: 8.781 kB / 0.5071 GB, free: 5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1511, allocations: 82.33 MB / 0.5875 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.2875/0.4386, allocations: 19.08 MB / 0.6061 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006351/0.445, allocations: 5.04 MB / 0.611 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006028/0.4457, allocations: 18.03 kB / 0.6111 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006839/0.4464, allocations: 258.4 kB / 0.6113 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.448, allocations: 0.7516 MB / 0.612 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.4499, allocations: 0.7545 MB / 0.6128 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001764/0.4516, allocations: 1.947 MB / 0.6147 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005082/0.4522, allocations: 406.7 kB / 0.6151 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000744/0.4529, allocations: 0.5886 MB / 0.6156 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004558/0.4534, allocations: 467.5 kB / 0.6161 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.4534, allocations: 20.72 kB / 0.6161 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.4549, allocations: 0.9574 MB / 0.617 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.455, allocations: 122.6 kB / 0.6172 GB, free: 34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.4551, allocations: 133.2 kB / 0.6173 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008093/0.4559, allocations: 0.8279 MB / 0.6181 GB, free: 33.87 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.456, allocations: 0 / 0.6181 GB, free: 33.87 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.456, allocations: 0 / 0.6181 GB, free: 33.87 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.456, allocations: 4 kB / 0.6181 GB, free: 33.87 MB / 0.4981 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.001176/0.4572, allocations: 0.9225 MB / 0.619 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.4572, allocations: 9.938 kB / 0.619 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.176e-05/0.4573, allocations: 75.95 kB / 0.6191 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007491/0.458, allocations: 199.9 kB / 0.6193 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009091/0.459, allocations: 0.5407 MB / 0.6198 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002681/0.4592, allocations: 96.2 kB / 0.6199 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/0.4593, allocations: 43.06 kB / 0.6199 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009121/0.4602, allocations: 0.4989 MB / 0.6204 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.4603, allocations: 4 kB / 0.6204 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.754e-05/0.4603, allocations: 19.3 kB / 0.6204 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.4604, allocations: 9.375 kB / 0.6205 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008569/0.4612, allocations: 429.3 kB / 0.6209 GB, free: 32.75 MB / 0.4981 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.002366/0.4636, allocations: 2.29 MB / 0.6231 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008537/0.4645, allocations: 395.8 kB / 0.6235 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004211/0.4649, allocations: 234.7 kB / 0.6237 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/0.4651, allocations: 338.2 kB / 0.624 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005302/0.4657, allocations: 317.9 kB / 0.6243 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.407e-06/0.4657, allocations: 0 / 0.6243 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002042/0.4677, allocations: 0.8857 MB / 0.6252 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.4678, allocations: 83.55 kB / 0.6253 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004384/0.4682, allocations: 0.4883 MB / 0.6257 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.4683, allocations: 31.98 kB / 0.6258 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.4684, allocations: 276 kB / 0.626 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.252e-05/0.4685, allocations: 107.2 kB / 0.6261 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.4685, allocations: 5 kB / 0.6261 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.701e-05/0.4686, allocations: 371.4 kB / 0.6265 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.469, allocations: 174.4 kB / 0.6267 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003969/0.4694, allocations: 275.8 kB / 0.6269 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/0.4698, allocations: 224.7 kB / 0.6271 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4698, allocations: 4 kB / 0.6271 GB, free: 29.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001133/0.471, allocations: 0.6225 MB / 0.6278 GB, free: 29.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.525e-05/0.471, allocations: 170.4 kB / 0.6279 GB, free: 29.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.471, allocations: 0 / 0.6279 GB, free: 29.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002925/0.4713, allocations: 78.06 kB / 0.628 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.4717, allocations: 82.16 kB / 0.6281 GB, free: 29.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003281/0.472, allocations: 0.5961 MB / 0.6287 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004648/0.4725, allocations: 74.06 kB / 0.6287 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.4726, allocations: 22.05 kB / 0.6287 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-06/0.4726, allocations: 5.594 kB / 0.6288 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001043/0.4736, allocations: 0.5605 MB / 0.6293 GB, free: 28.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.4736, allocations: 3.281 kB / 0.6293 GB, free: 28.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001198/0.4738, allocations: 53.16 kB / 0.6294 GB, free: 28.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.4741, allocations: 77.56 kB / 0.6294 GB, free: 28.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.4752, allocations: 1.633 MB / 0.631 GB, free: 27.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004493/0.4757, allocations: 78.3 kB / 0.6311 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.4757, allocations: 15.55 kB / 0.6311 GB, free: 27.27 MB / 0.4981 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.0002543/0.476, allocations: 299.1 kB / 0.6314 GB, free: 27.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-05/0.476, allocations: 58.14 kB / 0.6315 GB, free: 27.01 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.4773, allocations: 0.6643 MB / 0.6321 GB, free: 26.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.4773, allocations: 6.125 kB / 0.6321 GB, free: 26.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.4773, allocations: 4 kB / 0.6321 GB, free: 26.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001037/0.4783, allocations: 0.8216 MB / 0.6329 GB, free: 26.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.4801, allocations: 1.32 MB / 0.6342 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.4801, allocations: 3.328 kB / 0.6342 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.4804, allocations: 70.94 kB / 0.6343 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.4806, allocations: 41.31 kB / 0.6343 GB, free: 26.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.4806, allocations: 13.86 kB / 0.6343 GB, free: 26.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002203/0.4808, allocations: 0.5843 MB / 0.6349 GB, free: 25.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4808, allocations: 0 / 0.6349 GB, free: 25.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.4828, allocations: 0.9918 MB / 0.6359 GB, free: 25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002784/0.4831, allocations: 188 kB / 0.636 GB, free: 24.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.4833, allocations: 13.38 kB / 0.6361 GB, free: 24.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008144/0.4841, allocations: 61.52 kB / 0.6361 GB, free: 24.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.619e-05/0.4842, allocations: 33.09 kB / 0.6361 GB, free: 24.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.188e-05/0.4843, allocations: 21.25 kB / 0.6362 GB, free: 24.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004071/0.4847, allocations: 343.6 kB / 0.6365 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.12e-07/0.4847, allocations: 0 / 0.6365 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001105/0.4858, allocations: 344.9 kB / 0.6368 GB, free: 24.6 MB / 0.4981 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.002259/0.4881, allocations: 1.7 MB / 0.6385 GB, free: 23.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001805/0.4899, allocations: 0.9878 MB / 0.6394 GB, free: 23.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.4899, allocations: 6.562 kB / 0.6395 GB, free: 23.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005489/0.4905, allocations: 325.8 kB / 0.6398 GB, free: 22.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.4918, allocations: 256 kB / 0.64 GB, free: 22.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005256/0.497, allocations: 3.488 MB / 0.6434 GB, free: 21.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.4974, allocations: 0.8782 MB / 0.6443 GB, free: 20.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005621/0.4979, allocations: 126.3 kB / 0.6444 GB, free: 20.51 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.4982, allocations: 197.6 kB / 0.6446 GB, free: 20.37 MB / 0.4981 GB Notification: Performance of SimCode: time 1.613e-06/0.4982, allocations: 4 kB / 0.6446 GB, free: 20.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03638/0.5346, allocations: 16 MB / 0.6602 GB, free: 19.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/0.5347, allocations: 269.8 kB / 0.6605 GB, free: 18.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/2.724, allocations: 0 / 0.6605 GB, free: 18.72 MB / 0.4981 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) Environment - environmentSimulation: