Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example3.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.Performance.Example3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example3",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.009142/0.009142, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001911/0.001911, allocations: 190.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.215/2.215, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.191/1.191, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 63.89 kB / 0.5808 GB, free: 8.082 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9222/0.9244, allocations: 80.21 MB / 0.6592 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.08261/1.007, allocations: 32.74 MB / 0.6911 GB, free: 76 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03297/1.04, allocations: 10.48 MB / 0.7014 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004332/1.044, allocations: 48.81 kB / 0.7014 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004839/1.049, allocations: 0.7359 MB / 0.7021 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009597/1.059, allocations: 1.568 MB / 0.7037 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007838/1.067, allocations: 1.407 MB / 0.705 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01392/1.081, allocations: 4.873 MB / 0.7098 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006298/1.087, allocations: 2.079 MB / 0.7118 GB, free: 112 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009825/1.097, allocations: 1.939 MB / 0.7137 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005321/1.103, allocations: 1.361 MB / 0.7151 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009874/1.104, allocations: 148 kB / 0.7152 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006887/1.111, allocations: 1.17 MB / 0.7163 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001986/1.113, allocations: 470.2 kB / 0.7168 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004592/1.117, allocations: 1.007 MB / 0.7178 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0117/1.129, allocations: 2.94 MB / 0.7206 GB, free: 7.062 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-05/1.129, allocations: 4 kB / 0.7206 GB, free: 7.059 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.829e-06/1.129, allocations: 0 / 0.7206 GB, free: 7.059 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001637/1.129, allocations: 0 / 0.7206 GB, free: 7.059 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.01068/1.14, allocations: 2.388 MB / 0.723 GB, free: 4.602 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 8.824e-05/1.14, allocations: 8.031 kB / 0.723 GB, free: 4.594 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007108/1.141, allocations: 152 kB / 0.7231 GB, free: 4.438 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002654/1.144, allocations: 306.2 kB / 0.7234 GB, free: 4.137 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007411/1.151, allocations: 1.687 MB / 0.7251 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/1.151, allocations: 78 kB / 0.7251 GB, free: 2.324 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007226/1.152, allocations: 104 kB / 0.7252 GB, free: 2.223 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005114/1.157, allocations: 1.284 MB / 0.7265 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.56e-05/1.158, allocations: 3.938 kB / 0.7265 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000313/1.158, allocations: 40 kB / 0.7265 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-05/1.158, allocations: 27.94 kB / 0.7266 GB, free: 0.793 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003648/1.162, allocations: 0.9834 MB / 0.7275 GB, free: 15.8 MB / 0.5606 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.01548/1.177, allocations: 6.49 MB / 0.7339 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/1.179, allocations: 0.5889 MB / 0.7344 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/1.181, allocations: 385 kB / 0.7348 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004937/1.185, allocations: 1.7 MB / 0.7365 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001203/1.187, allocations: 355.2 kB / 0.7368 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001005/1.188, allocations: 75.39 kB / 0.7369 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 6.753e-06/1.188, allocations: 4 kB / 0.7369 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.005909/1.194, allocations: 1.309 MB / 0.7382 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.902e-05/1.194, allocations: 59.39 kB / 0.7382 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006205/1.2, allocations: 1.797 MB / 0.74 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002861/1.2, allocations: 41.7 kB / 0.74 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001507/1.202, allocations: 0.8499 MB / 0.7408 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004402/1.202, allocations: 161.8 kB / 0.741 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007143/1.203, allocations: 186.5 kB / 0.7412 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002202/1.203, allocations: 341.9 kB / 0.7415 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/1.205, allocations: 316.6 kB / 0.7418 GB, free: 500 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/1.206, allocations: 0.7401 MB / 0.7425 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002689/1.209, allocations: 0.9876 MB / 0.7435 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.996e-05/1.209, allocations: 7.938 kB / 0.7435 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004733/1.214, allocations: 1.3 MB / 0.7448 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.673e-05/1.214, allocations: 37.69 kB / 0.7448 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.061e-05/1.214, allocations: 12.75 kB / 0.7448 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/1.215, allocations: 188 kB / 0.745 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/1.216, allocations: 167.7 kB / 0.7452 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/1.218, allocations: 0.7708 MB / 0.7459 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/1.22, allocations: 48.55 kB / 0.746 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/1.22, allocations: 51.97 kB / 0.746 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002223/1.222, allocations: 0.7093 MB / 0.7467 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001372/1.223, allocations: 0.709 MB / 0.7474 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002156/1.226, allocations: 0.9249 MB / 0.7483 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.787e-05/1.226, allocations: 4 kB / 0.7483 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.003928/1.23, allocations: 1.264 MB / 0.7495 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.256e-05/1.23, allocations: 38.45 kB / 0.7496 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.658e-05/1.23, allocations: 8 kB / 0.7496 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003865/1.23, allocations: 124.8 kB / 0.7497 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009202/1.231, allocations: 159.7 kB / 0.7498 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003705/1.235, allocations: 2.332 MB / 0.7521 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/1.237, allocations: 60.56 kB / 0.7522 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002789/1.237, allocations: 40 kB / 0.7522 GB, free: 4.887 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * Array equations: 1 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000592/1.238, allocations: 239.9 kB / 0.7524 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008388/1.239, allocations: 177.8 kB / 0.7526 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003844/1.243, allocations: 0.997 MB / 0.7536 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/1.243, allocations: 8 kB / 0.7536 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/1.243, allocations: 3.938 kB / 0.7536 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002424/1.245, allocations: 0.9427 MB / 0.7545 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006882/1.252, allocations: 2.101 MB / 0.7566 GB, free: 272 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/1.252, allocations: 4 kB / 0.7566 GB, free: 268 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000706/1.253, allocations: 83.86 kB / 0.7567 GB, free: 184 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000524/1.253, allocations: 120.9 kB / 0.7568 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.148e-05/1.254, allocations: 19.92 kB / 0.7568 GB, free: 40 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/1.255, allocations: 0.7397 MB / 0.7575 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.255, allocations: 0 / 0.7575 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004558/1.259, allocations: 1.345 MB / 0.7588 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/1.261, allocations: 303 kB / 0.7591 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008227/1.262, allocations: 8 kB / 0.7591 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/1.264, allocations: 35.88 kB / 0.7592 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/1.264, allocations: 48.25 kB / 0.7592 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/1.264, allocations: 19.98 kB / 0.7592 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003799/1.268, allocations: 1.239 MB / 0.7604 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.71e-07/1.268, allocations: 0 / 0.7604 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005584/1.274, allocations: 0.7877 MB / 0.7612 GB, free: 11.42 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006562/1.28, allocations: 2.119 MB / 0.7633 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00508/1.285, allocations: 1.461 MB / 0.7647 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.285, allocations: 0 / 0.7647 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001298/1.287, allocations: 339.7 kB / 0.765 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006399/1.293, allocations: 0.7805 MB / 0.7658 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03873/1.332, allocations: 12.34 MB / 0.7778 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002547/1.335, allocations: 1.507 MB / 0.7793 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003122/1.338, allocations: 454 kB / 0.7797 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001911/1.34, allocations: 0.6516 MB / 0.7804 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of SimCode: time 2.545e-06/1.34, allocations: 0 / 0.7804 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1537/1.493, allocations: 46.77 MB / 0.826 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.6/29.09, allocations: 7.234 kB / 0.8261 GB, free: 9.016 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example3.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)