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.0007709/0.0007708, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.0008316/0.0008316, allocations: 175.2 kB / 16.27 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003034, allocations: 12 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1362, allocations: 82.31 MB / 0.5881 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.2576/0.3938, allocations: 20.13 MB / 0.6077 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00612/0.4, allocations: 5.393 MB / 0.613 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004908/0.4005, allocations: 24.03 kB / 0.613 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006569/0.4012, allocations: 286.5 kB / 0.6133 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.4029, allocations: 0.8442 MB / 0.6141 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.4047, allocations: 0.8236 MB / 0.6149 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001847/0.4066, allocations: 2.298 MB / 0.6172 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005049/0.4071, allocations: 423.6 kB / 0.6176 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000821/0.4079, allocations: 0.6141 MB / 0.6182 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/0.4084, allocations: 489.3 kB / 0.6186 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.733e-05/0.4085, allocations: 20.94 kB / 0.6187 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.41, allocations: 1.091 MB / 0.6197 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.4102, allocations: 130.9 kB / 0.6198 GB, free: 33.31 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.4104, allocations: 332.1 kB / 0.6202 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.4115, allocations: 1.173 MB / 0.6213 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.4115, allocations: 3 kB / 0.6213 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.245e-06/0.4116, allocations: 0 / 0.6213 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.4116, allocations: 0 / 0.6213 GB, free: 33.01 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.001264/0.4128, allocations: 0.9214 MB / 0.6222 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.4129, allocations: 9.75 kB / 0.6222 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.611e-05/0.413, allocations: 78.39 kB / 0.6223 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008649/0.4138, allocations: 191.2 kB / 0.6225 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008849/0.4147, allocations: 0.5726 MB / 0.623 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003233/0.4151, allocations: 92.88 kB / 0.6231 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.413e-05/0.4151, allocations: 39.31 kB / 0.6232 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008677/0.416, allocations: 0.5033 MB / 0.6237 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.416, allocations: 0 / 0.6237 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.4161, allocations: 16.97 kB / 0.6237 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.4161, allocations: 8.844 kB / 0.6237 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000928/0.417, allocations: 432.2 kB / 0.6241 GB, free: 31.86 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.002321/0.4194, allocations: 2.295 MB / 0.6263 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009522/0.4203, allocations: 401.8 kB / 0.6267 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004583/0.4208, allocations: 237.7 kB / 0.6269 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/0.421, allocations: 340.7 kB / 0.6273 GB, free: 29.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005659/0.4216, allocations: 309.1 kB / 0.6276 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.274e-06/0.4216, allocations: 0 / 0.6276 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002048/0.4237, allocations: 0.8868 MB / 0.6284 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.4237, allocations: 86.73 kB / 0.6285 GB, free: 29.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004257/0.4241, allocations: 0.492 MB / 0.629 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.4242, allocations: 31.52 kB / 0.629 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.4243, allocations: 283.7 kB / 0.6293 GB, free: 29.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.571e-05/0.4244, allocations: 112.1 kB / 0.6294 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.4245, allocations: 29.88 kB / 0.6294 GB, free: 29.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.488e-05/0.4245, allocations: 369.9 kB / 0.6298 GB, free: 28.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.425, allocations: 185.4 kB / 0.63 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.4254, allocations: 265 kB / 0.6302 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008673/0.4263, allocations: 487.1 kB / 0.6307 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4263, allocations: 0 / 0.6307 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001275/0.4276, allocations: 0.6349 MB / 0.6313 GB, free: 28.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.105e-05/0.4277, allocations: 169.3 kB / 0.6315 GB, free: 27.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.4277, allocations: 2.953 kB / 0.6315 GB, free: 27.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003117/0.428, allocations: 69.7 kB / 0.6315 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.4284, allocations: 88.14 kB / 0.6316 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003099/0.4287, allocations: 0.5881 MB / 0.6322 GB, free: 27.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/0.4292, allocations: 80.09 kB / 0.6323 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.4293, allocations: 29.75 kB / 0.6323 GB, free: 27.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.312e-06/0.4293, allocations: 5.969 kB / 0.6323 GB, free: 27.36 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001121/0.4304, allocations: 0.5671 MB / 0.6328 GB, free: 27.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.207e-06/0.4304, allocations: 2.875 kB / 0.6328 GB, free: 27.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000125/0.4305, allocations: 50.94 kB / 0.6329 GB, free: 27.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.4309, allocations: 83.56 kB / 0.633 GB, free: 27.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009919/0.4319, allocations: 1.635 MB / 0.6346 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.4324, allocations: 76.09 kB / 0.6346 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.4324, allocations: 19.45 kB / 0.6347 GB, free: 25.56 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 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002295/0.4327, allocations: 299 kB / 0.635 GB, free: 25.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.867e-05/0.4327, allocations: 62.47 kB / 0.635 GB, free: 25.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.434, allocations: 0.6719 MB / 0.6357 GB, free: 25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4341, allocations: 3 kB / 0.6357 GB, free: 25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.4341, allocations: 0 / 0.6357 GB, free: 25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001106/0.4352, allocations: 0.8153 MB / 0.6365 GB, free: 24.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.437, allocations: 1.328 MB / 0.6378 GB, free: 23.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4371, allocations: 7.094 kB / 0.6378 GB, free: 23.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.4374, allocations: 67.5 kB / 0.6378 GB, free: 23.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001115/0.4375, allocations: 45.27 kB / 0.6379 GB, free: 23.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.738e-05/0.4376, allocations: 18.19 kB / 0.6379 GB, free: 23.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002219/0.4378, allocations: 0.568 MB / 0.6384 GB, free: 23.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4378, allocations: 0 / 0.6384 GB, free: 23.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.4394, allocations: 1.009 MB / 0.6394 GB, free: 22.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.4396, allocations: 185.2 kB / 0.6396 GB, free: 22.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.899e-05/0.4397, allocations: 20.69 kB / 0.6396 GB, free: 22.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005389/0.4403, allocations: 62.83 kB / 0.6397 GB, free: 22.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.4403, allocations: 17.3 kB / 0.6397 GB, free: 22.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.4404, allocations: 23.78 kB / 0.6397 GB, free: 22.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002954/0.4407, allocations: 345 kB / 0.6401 GB, free: 22.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4407, allocations: 0 / 0.6401 GB, free: 22.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009522/0.4416, allocations: 347.1 kB / 0.6404 GB, free: 22.32 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002232/0.4439, allocations: 1.709 MB / 0.6421 GB, free: 21.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001789/0.4457, allocations: 1.001 MB / 0.643 GB, free: 20.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4457, allocations: 0 / 0.643 GB, free: 20.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005474/0.4462, allocations: 343.3 kB / 0.6434 GB, free: 20.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.4476, allocations: 248.1 kB / 0.6436 GB, free: 20.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007269/0.4549, allocations: 5.231 MB / 0.6487 GB, free: 17.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.4552, allocations: 0.8791 MB / 0.6496 GB, free: 16.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005316/0.4558, allocations: 130.5 kB / 0.6497 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.456, allocations: 194.1 kB / 0.6499 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of SimCode: time 8.42e-07/0.456, allocations: 0 / 0.6499 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4068/0.8629, allocations: 15.95 MB / 0.6655 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.8631, allocations: 280.4 kB / 0.6657 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/3.266, allocations: 0 / 0.6657 GB, free: 14.86 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/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)