Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.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.Example1v1,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example1v1,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example1v1",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.0008248/0.0008249, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008018/0.0008018, allocations: 172.7 kB / 15.95 MB, free: 208 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.279/1.279, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7269/0.7269, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 8.938 kB / 0.5035 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4046, allocations: 81.57 MB / 0.5831 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.05925/0.4638, allocations: 66.56 MB / 0.6481 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0212/0.4851, allocations: 15.9 MB / 0.6637 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002914/0.4881, allocations: 75.5 kB / 0.6637 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002372/0.4905, allocations: 0.6638 MB / 0.6644 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005452/0.4959, allocations: 1.941 MB / 0.6663 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00455/0.5005, allocations: 1.561 MB / 0.6678 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0108/0.5113, allocations: 9.072 MB / 0.6767 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007436/0.5188, allocations: 5.33 MB / 0.6819 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006255/0.5251, allocations: 2.692 MB / 0.6845 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004226/0.5293, allocations: 2.318 MB / 0.6868 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000534/0.5299, allocations: 128 kB / 0.6869 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.5329, allocations: 1.014 MB / 0.6879 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006792/0.5336, allocations: 0.6105 MB / 0.6885 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.5346, allocations: 0.6484 MB / 0.6891 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003568/0.5382, allocations: 3.491 MB / 0.6925 GB, free: 332 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5382, allocations: 3.938 kB / 0.6925 GB, free: 328 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5382, allocations: 0 / 0.6925 GB, free: 328 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.656e-05/0.5383, allocations: 0 / 0.6925 GB, free: 328 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.006485/0.5448, allocations: 3.874 MB / 0.6963 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.5448, allocations: 8.031 kB / 0.6963 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003209/0.5452, allocations: 232 kB / 0.6965 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/0.5471, allocations: 0.5696 MB / 0.6971 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004126/0.5512, allocations: 2.47 MB / 0.6995 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.5513, allocations: 139.7 kB / 0.6996 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/0.5516, allocations: 188 kB / 0.6998 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003532/0.5552, allocations: 2.412 MB / 0.7022 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/0.5552, allocations: 7.938 kB / 0.7022 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.5554, allocations: 72 kB / 0.7023 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.138e-05/0.5554, allocations: 40 kB / 0.7023 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003404/0.5588, allocations: 2.017 MB / 0.7043 GB, free: 4.004 MB / 0.5294 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.01429/0.5731, allocations: 12.15 MB / 0.7161 GB, free: 7.227 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/0.5758, allocations: 1.541 MB / 0.7176 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001618/0.5775, allocations: 1.102 MB / 0.7187 GB, free: 4.582 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00635/0.5838, allocations: 4.087 MB / 0.7227 GB, free: 224 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001524/0.5854, allocations: 0.8872 MB / 0.7236 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001509/0.5869, allocations: 450.6 kB / 0.724 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=96): time 4.177e-06/0.5869, allocations: 0 / 0.724 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=96): time 0.01523/0.6022, allocations: 5.201 MB / 0.7291 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.6022, allocations: 68.34 kB / 0.7291 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004859/0.6071, allocations: 3.016 MB / 0.7321 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003416/0.6075, allocations: 53.7 kB / 0.7321 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001363/0.6089, allocations: 1.433 MB / 0.7335 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004201/0.6093, allocations: 339.2 kB / 0.7339 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.542e-05/0.6094, allocations: 28 kB / 0.7339 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002179/0.6096, allocations: 373.9 kB / 0.7342 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.611, allocations: 0.687 MB / 0.7349 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/0.613, allocations: 1.493 MB / 0.7364 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.6147, allocations: 0.9028 MB / 0.7373 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.6147, allocations: 4 kB / 0.7373 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006848/0.6215, allocations: 2.937 MB / 0.7401 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004009/0.622, allocations: 0.5353 MB / 0.7406 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.092e-05/0.622, allocations: 16 kB / 0.7407 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002699/0.6247, allocations: 0.7818 MB / 0.7414 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.6259, allocations: 301.3 kB / 0.7417 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/0.6284, allocations: 2.177 MB / 0.7438 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002898/0.6314, allocations: 252.6 kB / 0.7441 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/0.6315, allocations: 83.89 kB / 0.7442 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.6316, allocations: 4 kB / 0.7442 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004643/0.6362, allocations: 2.305 MB / 0.7464 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/0.6363, allocations: 13 kB / 0.7464 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.6377, allocations: 0.5869 MB / 0.747 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.6388, allocations: 289.4 kB / 0.7473 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008514/0.6473, allocations: 6.491 MB / 0.7536 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/0.6499, allocations: 248.6 kB / 0.7539 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002345/0.6502, allocations: 63.98 kB / 0.7539 GB, free: 15.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001642/0.6518, allocations: 0.8364 MB / 0.7547 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006955/0.6525, allocations: 292.2 kB / 0.755 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004929/0.6575, allocations: 2.488 MB / 0.7574 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.6575, allocations: 12 kB / 0.7575 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.6575, allocations: 0 / 0.7575 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003599/0.6611, allocations: 2.182 MB / 0.7596 GB, free: 9.289 MB / 0.5919 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.008523/0.6696, allocations: 4.707 MB / 0.7642 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/0.6697, allocations: 0 / 0.7642 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008029/0.6705, allocations: 173.4 kB / 0.7643 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001161/0.6716, allocations: 0.54 MB / 0.7649 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/0.6717, allocations: 23.98 kB / 0.7649 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/0.6739, allocations: 2.099 MB / 0.7669 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.6739, allocations: 0 / 0.7669 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005925/0.6798, allocations: 3.346 MB / 0.7702 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/0.6813, allocations: 0.5635 MB / 0.7708 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006007/0.6819, allocations: 19.98 kB / 0.7708 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/0.6841, allocations: 211.5 kB / 0.771 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.6843, allocations: 60.91 kB / 0.771 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.6844, allocations: 39.97 kB / 0.7711 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00398/0.6884, allocations: 2.06 MB / 0.7731 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6884, allocations: 0 / 0.7731 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005159/0.6936, allocations: 1.478 MB / 0.7745 GB, free: 9.785 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.006771/0.7004, allocations: 4.012 MB / 0.7785 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006229/0.7066, allocations: 3.256 MB / 0.7816 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/0.7066, allocations: 448 / 0.7816 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001576/0.7082, allocations: 0.8266 MB / 0.7824 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007983/0.7162, allocations: 1.544 MB / 0.7839 GB, free: 84 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05104/0.7673, allocations: 21.32 MB / 0.8048 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002034/0.7693, allocations: 2.037 MB / 0.8068 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00295/0.7723, allocations: 0.6717 MB / 0.8074 GB, free: 6.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001695/0.774, allocations: 1.175 MB / 0.8086 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of SimCode: time 1.042e-06/0.774, allocations: 4 kB / 0.8086 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3967/1.171, allocations: 84.58 MB / 0.8912 GB, free: 149.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001374/1.171, allocations: 238.5 kB / 0.8914 GB, free: 149.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.016/5.187, allocations: 3.828 kB / 0.8914 GB, free: 149.6 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example1v1.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1) Environment - environmentSimulation: