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.00113/0.00113, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7093/0.7093, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 56.22 kB / 0.5019 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3489, allocations: 80.21 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.0319/0.3808, allocations: 32.74 MB / 0.6122 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01451/0.3953, allocations: 10.48 MB / 0.6224 GB, free: 3.781 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.397, allocations: 52.5 kB / 0.6224 GB, free: 3.762 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002136/0.3991, allocations: 0.7288 MB / 0.6232 GB, free: 3.184 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003883/0.4031, allocations: 1.568 MB / 0.6247 GB, free: 1.941 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003223/0.4063, allocations: 1.404 MB / 0.6261 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005196/0.4115, allocations: 4.866 MB / 0.6308 GB, free: 13.58 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002386/0.4139, allocations: 2.07 MB / 0.6328 GB, free: 11.49 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003396/0.4173, allocations: 1.897 MB / 0.6347 GB, free: 9.59 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.4189, allocations: 1.357 MB / 0.636 GB, free: 8.227 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000247/0.4192, allocations: 144 kB / 0.6361 GB, free: 8.086 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.4215, allocations: 1.162 MB / 0.6373 GB, free: 6.922 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004471/0.422, allocations: 474.2 kB / 0.6377 GB, free: 6.457 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.423, allocations: 1.014 MB / 0.6387 GB, free: 5.438 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003051/0.4261, allocations: 2.894 MB / 0.6416 GB, free: 2.535 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4261, allocations: 3.938 kB / 0.6416 GB, free: 2.531 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4261, allocations: 3.938 kB / 0.6416 GB, free: 2.527 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.191e-05/0.4261, allocations: 0 / 0.6416 GB, free: 2.527 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.003389/0.4295, allocations: 2.372 MB / 0.6439 GB, free: 88 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.4296, allocations: 12.03 kB / 0.6439 GB, free: 76 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000174/0.4297, allocations: 144 kB / 0.644 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.4309, allocations: 306.2 kB / 0.6443 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.4334, allocations: 1.62 MB / 0.6459 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.354e-05/0.4335, allocations: 78 kB / 0.646 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.4336, allocations: 108 kB / 0.6461 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.4356, allocations: 1.28 MB / 0.6473 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.4356, allocations: 7.938 kB / 0.6473 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.933e-05/0.4357, allocations: 40 kB / 0.6474 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.4357, allocations: 24 kB / 0.6474 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/0.4376, allocations: 0.9834 MB / 0.6484 GB, free: 11.36 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.006984/0.4445, allocations: 6.529 MB / 0.6547 GB, free: 4.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.4458, allocations: 0.5704 MB / 0.6553 GB, free: 3.832 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006833/0.4465, allocations: 401 kB / 0.6557 GB, free: 3.441 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002275/0.4488, allocations: 1.688 MB / 0.6573 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007301/0.4495, allocations: 363.2 kB / 0.6577 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003364/0.4499, allocations: 75.41 kB / 0.6577 GB, free: 1.172 MB / 494.1 MB Notification: Performance of pre-optimization done (n=45): time 2.365e-06/0.4499, allocations: 3.938 kB / 0.6577 GB, free: 1.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=45): time 0.003359/0.4533, allocations: 1.309 MB / 0.659 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.4533, allocations: 59.41 kB / 0.6591 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/0.4554, allocations: 1.8 MB / 0.6608 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/0.4555, allocations: 41.7 kB / 0.6609 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006984/0.4562, allocations: 0.85 MB / 0.6617 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.4563, allocations: 153.8 kB / 0.6619 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/0.4566, allocations: 190.4 kB / 0.662 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4567, allocations: 334 kB / 0.6624 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006889/0.4574, allocations: 324.6 kB / 0.6627 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009421/0.4584, allocations: 0.7401 MB / 0.6634 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.4599, allocations: 0.9915 MB / 0.6644 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.46, allocations: 4 kB / 0.6644 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002491/0.4625, allocations: 1.297 MB / 0.6656 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.481e-05/0.4625, allocations: 41.69 kB / 0.6657 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.4625, allocations: 8 kB / 0.6657 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006689/0.4632, allocations: 193.2 kB / 0.6659 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006321/0.4639, allocations: 167.7 kB / 0.666 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006429/0.4645, allocations: 0.7668 MB / 0.6668 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008341/0.4654, allocations: 48.64 kB / 0.6668 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.698e-05/0.4655, allocations: 51.91 kB / 0.6669 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001079/0.4665, allocations: 0.7141 MB / 0.6676 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007856/0.4673, allocations: 0.7012 MB / 0.6682 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001252/0.4686, allocations: 0.9249 MB / 0.6691 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.22e-06/0.4686, allocations: 4 kB / 0.6691 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002055/0.4707, allocations: 1.272 MB / 0.6704 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.4707, allocations: 37.7 kB / 0.6704 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.4707, allocations: 12 kB / 0.6704 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002251/0.471, allocations: 121.4 kB / 0.6706 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/0.4716, allocations: 167.7 kB / 0.6707 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.4737, allocations: 2.322 MB / 0.673 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000811/0.4746, allocations: 52.58 kB / 0.673 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.059e-05/0.4746, allocations: 43.98 kB / 0.6731 GB, free: 424 kB / 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 (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.0002407/0.4749, allocations: 243.9 kB / 0.6733 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/0.4751, allocations: 169.9 kB / 0.6735 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.4772, allocations: 0.9978 MB / 0.6744 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.4773, allocations: 7.938 kB / 0.6745 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.4773, allocations: 4 kB / 0.6745 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001589/0.4789, allocations: 0.9428 MB / 0.6754 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003498/0.4824, allocations: 2.108 MB / 0.6774 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4824, allocations: 0 / 0.6774 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/0.4829, allocations: 87.86 kB / 0.6775 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002954/0.4832, allocations: 136.6 kB / 0.6776 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.593e-05/0.4832, allocations: 19.98 kB / 0.6777 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000557/0.4838, allocations: 0.7388 MB / 0.6784 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4838, allocations: 0 / 0.6784 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.4862, allocations: 1.345 MB / 0.6797 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005283/0.4868, allocations: 306.7 kB / 0.68 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/0.487, allocations: 15.94 kB / 0.68 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006796/0.4877, allocations: 31.91 kB / 0.68 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.4878, allocations: 44.44 kB / 0.6801 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.753e-05/0.4879, allocations: 23.98 kB / 0.6801 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001779/0.4897, allocations: 1.239 MB / 0.6813 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4897, allocations: 0 / 0.6813 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002088/0.4918, allocations: 0.7798 MB / 0.6821 GB, free: 6.93 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 (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.00336/0.4951, allocations: 2.119 MB / 0.6841 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00322/0.4984, allocations: 1.524 MB / 0.6856 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4984, allocations: 128 / 0.6856 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007752/0.4992, allocations: 334.3 kB / 0.686 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003439/0.5026, allocations: 0.7714 MB / 0.6867 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/0.5227, allocations: 13.47 MB / 0.6999 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/0.524, allocations: 1.503 MB / 0.7013 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001696/0.5257, allocations: 453.4 kB / 0.7018 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008783/0.5266, allocations: 0.6516 MB / 0.7024 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of SimCode: time 1.012e-06/0.5266, allocations: 4 kB / 0.7024 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.852/3.378, allocations: 45.68 MB / 0.747 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.42/24.8, allocations: 0.9375 kB / 0.747 GB, free: 4.008 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)