Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example4.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.Example4,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example4",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.001021/0.001021, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.007905/0.007905, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.299/1.299, 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/package.mo): time 0.7412/0.7412, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002908, allocations: 9.188 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3674, allocations: 81.57 MB / 0.5837 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.2308/0.5982, allocations: 232.2 MB / 0.8105 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3356/0.9339, allocations: 15.72 MB / 0.8259 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001906/0.9359, allocations: 54.47 kB / 0.8259 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002188/0.9381, allocations: 0.8725 MB / 0.8268 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006799/0.9449, allocations: 2.781 MB / 0.8295 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004084/0.949, allocations: 1.515 MB / 0.831 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005965/0.955, allocations: 4.648 MB / 0.8355 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.9566, allocations: 1.043 MB / 0.8365 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006043/0.9626, allocations: 2.229 MB / 0.8387 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002557/0.9652, allocations: 1.06 MB / 0.8397 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.9654, allocations: 47.19 kB / 0.8398 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005782/0.9712, allocations: 3.581 MB / 0.8433 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004096/0.9716, allocations: 402.1 kB / 0.8437 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008623/0.9724, allocations: 0.7459 MB / 0.8444 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003671/0.9761, allocations: 3.054 MB / 0.8474 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.9761, allocations: 0 / 0.8474 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9761, allocations: 0 / 0.8474 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.854e-05/0.9762, allocations: 0 / 0.8474 GB, free: 1.832 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002869/0.979, allocations: 1.719 MB / 0.849 GB, free: 16.83 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.9791, allocations: 9.375 kB / 0.8491 GB, free: 16.83 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001778/0.9793, allocations: 154.6 kB / 0.8492 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002605/0.9819, allocations: 0.5297 MB / 0.8497 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.9838, allocations: 1.122 MB / 0.8508 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008871/0.9847, allocations: 278.9 kB / 0.8511 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.9848, allocations: 101.6 kB / 0.8512 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.9869, allocations: 1.341 MB / 0.8525 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.9869, allocations: 6.062 kB / 0.8525 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.465e-05/0.987, allocations: 41.3 kB / 0.8525 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.363e-05/0.9871, allocations: 50.33 kB / 0.8526 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/0.9894, allocations: 1.123 MB / 0.8537 GB, free: 15.94 MB / 0.6544 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.00631/0.9957, allocations: 6.657 MB / 0.8602 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.9973, allocations: 0.6005 MB / 0.8608 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006272/0.9979, allocations: 297 kB / 0.8611 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003399/0.9982, allocations: 280.4 kB / 0.8613 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.9983, allocations: 41.72 kB / 0.8614 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 3.597e-06/0.9983, allocations: 0 / 0.8614 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.002295/1.001, allocations: 0.916 MB / 0.8623 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/1.001, allocations: 53.97 kB / 0.8623 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/1.002, allocations: 1.363 MB / 0.8636 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.922e-05/1.002, allocations: 34.67 kB / 0.8637 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000443/1.003, allocations: 0.6868 MB / 0.8643 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/1.003, allocations: 120 kB / 0.8645 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.983e-05/1.003, allocations: 59.95 kB / 0.8645 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.003, allocations: 328.4 kB / 0.8648 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008263/1.004, allocations: 330.1 kB / 0.8651 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/1.005, allocations: 0.667 MB / 0.8658 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/1.007, allocations: 0.9065 MB / 0.8667 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/1.007, allocations: 2.938 kB / 0.8667 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002203/1.009, allocations: 1.048 MB / 0.8677 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002369/1.009, allocations: 380.3 kB / 0.8681 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.009, allocations: 11.22 kB / 0.8681 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/1.009, allocations: 13.11 kB / 0.8681 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007974/1.01, allocations: 213.6 kB / 0.8683 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/1.01, allocations: 20.45 kB / 0.8683 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/1.011, allocations: 230.7 kB / 0.8685 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.584e-05/1.011, allocations: 37.91 kB / 0.8686 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.141e-06/1.011, allocations: 6.031 kB / 0.8686 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001894/1.013, allocations: 0.9068 MB / 0.8695 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/1.013, allocations: 8.625 kB / 0.8695 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/1.013, allocations: 17.17 kB / 0.8695 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007535/1.014, allocations: 208 kB / 0.8697 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/1.014, allocations: 21 kB / 0.8697 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/1.015, allocations: 205.2 kB / 0.8699 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.753e-05/1.015, allocations: 46.78 kB / 0.8699 GB, free: 8.766 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005211/1.016, allocations: 411 kB / 0.8703 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/1.016, allocations: 133.7 kB / 0.8705 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/1.018, allocations: 0.6859 MB / 0.8711 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/1.018, allocations: 3.469 kB / 0.8711 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.018, allocations: 10.55 kB / 0.8711 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/1.018, allocations: 2.344 kB / 0.8711 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/1.021, allocations: 1.961 MB / 0.8731 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.021, allocations: 2.531 kB / 0.8731 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004834/1.022, allocations: 107.3 kB / 0.8732 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/1.022, allocations: 6.344 kB / 0.8732 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/1.022, allocations: 17.17 kB / 0.8732 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/1.022, allocations: 8.812 kB / 0.8732 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.022, allocations: 2.844 kB / 0.8732 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/1.023, allocations: 0.8518 MB / 0.874 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000399/1.024, allocations: 291.9 kB / 0.8743 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/1.024, allocations: 12.47 kB / 0.8743 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/1.025, allocations: 113.4 kB / 0.8744 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/1.025, allocations: 35.77 kB / 0.8745 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/1.025, allocations: 21.61 kB / 0.8745 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001256/1.026, allocations: 0.9971 MB / 0.8755 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/1.026, allocations: 0 / 0.8755 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001611/1.028, allocations: 0.5667 MB / 0.876 GB, free: 7.199 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002183/1.03, allocations: 1.566 MB / 0.8775 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002716/1.033, allocations: 1.156 MB / 0.8787 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.033, allocations: 0 / 0.8787 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000657/1.034, allocations: 279.5 kB / 0.8789 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004472/1.038, allocations: 0.7682 MB / 0.8797 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01928/1.057, allocations: 10.9 MB / 0.8903 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006574/1.058, allocations: 1.183 MB / 0.8915 GB, free: 15.78 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001655/1.06, allocations: 380 kB / 0.8919 GB, free: 15.59 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005894/1.06, allocations: 0.4941 MB / 0.8923 GB, free: 15.54 MB / 0.67 GB Notification: Performance of SimCode: time 8.22e-07/1.06, allocations: 0 / 0.8923 GB, free: 15.54 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.122/3.183, allocations: 35.52 MB / 0.927 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/3.183, allocations: 217.8 kB / 0.9272 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.896/6.079, allocations: 0 / 0.9272 GB, free: 1.688 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example4.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)