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.0008589/0.0008588, allocations: 98.03 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.00527/0.00527, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.282/1.282, allocations: 223.3 MB / 240.3 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7532/0.7532, allocations: 132.3 MB / 423.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003219, allocations: 8 kB / 0.5041 GB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3421, allocations: 81.57 MB / 0.5837 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.03198/0.3741, allocations: 31.77 MB / 0.6148 GB, free: 12.35 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01422/0.3884, allocations: 10.43 MB / 0.6249 GB, free: 3.977 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.39, allocations: 47.09 kB / 0.625 GB, free: 3.957 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.3922, allocations: 0.625 MB / 0.6256 GB, free: 3.48 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004133/0.3964, allocations: 1.453 MB / 0.627 GB, free: 2.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003146/0.3996, allocations: 1.256 MB / 0.6282 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006529/0.4061, allocations: 6.427 MB / 0.6345 GB, free: 12.25 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002207/0.4083, allocations: 1.741 MB / 0.6362 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002878/0.4112, allocations: 1.606 MB / 0.6378 GB, free: 8.863 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.413, allocations: 1.334 MB / 0.6391 GB, free: 7.523 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.4132, allocations: 68 kB / 0.6392 GB, free: 7.457 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/0.4156, allocations: 1.092 MB / 0.6402 GB, free: 6.363 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003796/0.416, allocations: 378.2 kB / 0.6406 GB, free: 5.992 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.417, allocations: 0.9302 MB / 0.6415 GB, free: 5.051 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003329/0.4204, allocations: 2.791 MB / 0.6442 GB, free: 2.25 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.4204, allocations: 3.938 kB / 0.6442 GB, free: 2.246 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4204, allocations: 0 / 0.6442 GB, free: 2.246 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.559e-05/0.4204, allocations: 0 / 0.6442 GB, free: 2.246 MB / 478.1 MB 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.003173/0.4236, allocations: 2.043 MB / 0.6462 GB, free: 140 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.4236, allocations: 12.03 kB / 0.6462 GB, free: 128 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001892/0.4238, allocations: 148.1 kB / 0.6464 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.4249, allocations: 306.2 kB / 0.6467 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.4276, allocations: 1.655 MB / 0.6483 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.716e-05/0.4276, allocations: 78 kB / 0.6484 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.4278, allocations: 108 kB / 0.6485 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.4299, allocations: 1.291 MB / 0.6497 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.4299, allocations: 7.938 kB / 0.6497 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.43, allocations: 39.94 kB / 0.6498 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.43, allocations: 24 kB / 0.6498 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.4319, allocations: 1.003 MB / 0.6508 GB, free: 11.35 MB / 494.1 MB 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.006721/0.4386, allocations: 6.766 MB / 0.6574 GB, free: 4.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.4398, allocations: 0.5985 MB / 0.658 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006893/0.4406, allocations: 399.4 kB / 0.6583 GB, free: 3.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00234/0.4429, allocations: 1.698 MB / 0.66 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00071/0.4436, allocations: 382 kB / 0.6604 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004306/0.4441, allocations: 103.3 kB / 0.6605 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of pre-optimization done (n=46): time 1.963e-06/0.4441, allocations: 0 / 0.6605 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of matching and sorting (n=46): time 0.003336/0.4474, allocations: 1.328 MB / 0.6618 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.4475, allocations: 55.41 kB / 0.6618 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/0.4497, allocations: 1.785 MB / 0.6636 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.695e-05/0.4497, allocations: 45.7 kB / 0.6636 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007164/0.4505, allocations: 0.8461 MB / 0.6644 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.4506, allocations: 165.7 kB / 0.6646 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.4507, allocations: 77.67 kB / 0.6647 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4508, allocations: 334 kB / 0.665 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006282/0.4515, allocations: 313.8 kB / 0.6653 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000882/0.4524, allocations: 0.7363 MB / 0.666 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.4539, allocations: 0.9954 MB / 0.667 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.4539, allocations: 4 kB / 0.667 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002447/0.4564, allocations: 1.297 MB / 0.6682 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000261/0.4566, allocations: 438.9 kB / 0.6687 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.4567, allocations: 11.94 kB / 0.6687 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006624/0.4573, allocations: 180.7 kB / 0.6688 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006369/0.458, allocations: 175.7 kB / 0.669 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006937/0.4587, allocations: 0.7629 MB / 0.6697 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.4597, allocations: 92.5 kB / 0.6698 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.956e-05/0.4598, allocations: 55.92 kB / 0.6699 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.4598, allocations: 4 kB / 0.6699 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001773/0.4616, allocations: 1.077 MB / 0.6709 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4616, allocations: 8.719 kB / 0.671 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.4619, allocations: 132.7 kB / 0.6711 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005477/0.4624, allocations: 159.7 kB / 0.6712 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.4644, allocations: 2.123 MB / 0.6733 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008612/0.4653, allocations: 92.64 kB / 0.6734 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.388e-05/0.4654, allocations: 43.98 kB / 0.6734 GB, free: 2.648 MB / 0.4981 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 (85): * Single equations (assignments): 82 * 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.0007571/0.4661, allocations: 0.5918 MB / 0.674 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.4663, allocations: 169.8 kB / 0.6742 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.4683, allocations: 0.996 MB / 0.6751 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.4683, allocations: 8 kB / 0.6752 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4683, allocations: 3.938 kB / 0.6752 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001455/0.4697, allocations: 0.949 MB / 0.6761 GB, free: 15.84 MB / 0.5137 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 postOpt removeSimpleEquations (simulation): time 0.003266/0.473, allocations: 2.171 MB / 0.6782 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.473, allocations: 0 / 0.6782 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.4735, allocations: 83.94 kB / 0.6783 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002779/0.4738, allocations: 135.9 kB / 0.6784 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/0.4738, allocations: 19.94 kB / 0.6784 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005243/0.4744, allocations: 0.7396 MB / 0.6792 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4744, allocations: 4.062 kB / 0.6792 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.4766, allocations: 1.358 MB / 0.6805 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004201/0.477, allocations: 318.8 kB / 0.6808 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.4772, allocations: 12 kB / 0.6808 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000719/0.4779, allocations: 79.83 kB / 0.6809 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.198e-05/0.478, allocations: 40.39 kB / 0.6809 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.202e-05/0.4781, allocations: 23.97 kB / 0.6809 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001451/0.4796, allocations: 1.231 MB / 0.6821 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4796, allocations: 0 / 0.6821 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001938/0.4815, allocations: 0.7877 MB / 0.6829 GB, free: 8.668 MB / 0.5137 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 (40): * Single equations (assignments): 34 * 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.00305/0.4846, allocations: 2.12 MB / 0.685 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002525/0.4871, allocations: 1.473 MB / 0.6864 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.4871, allocations: 5.375 kB / 0.6864 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006809/0.4878, allocations: 346.3 kB / 0.6868 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00326/0.4911, allocations: 0.7322 MB / 0.6875 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0214/0.5125, allocations: 13.96 MB / 0.7011 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009984/0.5135, allocations: 1.495 MB / 0.7026 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001529/0.5151, allocations: 434.1 kB / 0.703 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000786/0.5159, allocations: 0.6555 MB / 0.7036 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of SimCode: time 6.71e-07/0.5159, allocations: 0 / 0.7036 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7457/1.262, allocations: 44 MB / 0.7466 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/1.262, allocations: 257.8 kB / 0.7468 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.882/4.143, allocations: 0 / 0.7468 GB, free: 6.777 MB / 0.5762 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)