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.001075/0.001075, 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.00111/0.00111, 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.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7054/0.7054, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 56.25 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3558, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.2374/0.5933, allocations: 237.5 MB / 0.8122 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3194/0.9127, allocations: 15.76 MB / 0.8276 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002099/0.9149, allocations: 60.53 kB / 0.8276 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002188/0.9171, allocations: 1.034 MB / 0.8286 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006807/0.9239, allocations: 2.955 MB / 0.8315 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003968/0.9279, allocations: 1.679 MB / 0.8331 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004534/0.9325, allocations: 3.426 MB / 0.8365 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.9343, allocations: 1.299 MB / 0.8378 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005383/0.9397, allocations: 2.484 MB / 0.8402 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/0.9417, allocations: 1.088 MB / 0.8412 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002107/0.942, allocations: 119.8 kB / 0.8414 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005081/0.947, allocations: 3.094 MB / 0.8444 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004901/0.9475, allocations: 479.9 kB / 0.8448 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.9486, allocations: 0.8096 MB / 0.8456 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004507/0.9532, allocations: 2.955 MB / 0.8485 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9532, allocations: 0 / 0.8485 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9532, allocations: 0.9688 kB / 0.8485 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.706e-05/0.9532, allocations: 0 / 0.8485 GB, free: 1.465 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.003193/0.9564, allocations: 2.005 MB / 0.8505 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.9565, allocations: 11.88 kB / 0.8505 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/0.9566, allocations: 150.6 kB / 0.8506 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/0.9592, allocations: 0.4964 MB / 0.8511 GB, free: 16.31 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.9611, allocations: 1.109 MB / 0.8522 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008842/0.962, allocations: 252.2 kB / 0.8524 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.9621, allocations: 98.66 kB / 0.8525 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.9642, allocations: 1.364 MB / 0.8539 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.9642, allocations: 7.609 kB / 0.8539 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.599e-05/0.9643, allocations: 42.38 kB / 0.8539 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.577e-05/0.9644, allocations: 48.53 kB / 0.854 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002292/0.9667, allocations: 1.078 MB / 0.855 GB, free: 15.54 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.007391/0.9741, allocations: 7.444 MB / 0.8623 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.9757, allocations: 0.5636 MB / 0.8628 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005966/0.9763, allocations: 278.2 kB / 0.8631 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003499/0.9766, allocations: 288 kB / 0.8634 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.9767, allocations: 42.92 kB / 0.8634 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 2.494e-06/0.9767, allocations: 0.7188 kB / 0.8634 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.00237/0.9791, allocations: 0.8661 MB / 0.8643 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.9791, allocations: 53.22 kB / 0.8643 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.9807, allocations: 1.401 MB / 0.8657 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.191e-05/0.9807, allocations: 34.86 kB / 0.8657 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/0.9812, allocations: 0.7 MB / 0.8664 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.9813, allocations: 122.2 kB / 0.8665 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.9815, allocations: 171.5 kB / 0.8667 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.9817, allocations: 334.8 kB / 0.867 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008377/0.9825, allocations: 332.9 kB / 0.8673 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.9836, allocations: 0.7274 MB / 0.868 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.9853, allocations: 0.9654 MB / 0.869 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.9853, allocations: 3.406 kB / 0.869 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002488/0.9878, allocations: 1.097 MB / 0.87 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.9879, allocations: 12.69 kB / 0.87 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.9879, allocations: 14.78 kB / 0.8701 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.9879, allocations: 17.67 kB / 0.8701 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000861/0.9888, allocations: 214 kB / 0.8703 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.24e-05/0.9888, allocations: 25.55 kB / 0.8703 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.9903, allocations: 196.5 kB / 0.8705 GB, free: 8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.377e-05/0.9903, allocations: 47.72 kB / 0.8705 GB, free: 8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001348/0.9917, allocations: 0.5837 MB / 0.8711 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001111/0.9928, allocations: 0.7265 MB / 0.8718 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001686/0.9945, allocations: 0.9648 MB / 0.8728 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.3e-06/0.9945, allocations: 5.062 kB / 0.8728 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002297/0.9968, allocations: 1.087 MB / 0.8738 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.9969, allocations: 15.16 kB / 0.8738 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.9969, allocations: 12.19 kB / 0.8739 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.9969, allocations: 23.59 kB / 0.8739 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000815/0.9977, allocations: 217.4 kB / 0.8741 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.9977, allocations: 22.19 kB / 0.8741 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.9991, allocations: 150.4 kB / 0.8743 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/0.9991, allocations: 41.19 kB / 0.8743 GB, free: 6.785 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (91): * Single equations (assignments): 91 * 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.0002459/0.9994, allocations: 242.9 kB / 0.8745 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.9996, allocations: 142.9 kB / 0.8747 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/1.001, allocations: 0.6653 MB / 0.8753 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.001, allocations: 2.781 kB / 0.8753 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.001, allocations: 3.141 kB / 0.8753 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.001, allocations: 0 / 0.8753 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/1.005, allocations: 1.915 MB / 0.8772 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/1.005, allocations: 2.812 kB / 0.8772 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004888/1.005, allocations: 102.6 kB / 0.8773 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/1.005, allocations: 7.219 kB / 0.8773 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/1.005, allocations: 9.594 kB / 0.8773 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/1.005, allocations: 5.75 kB / 0.8773 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.005, allocations: 7.594 kB / 0.8773 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/1.007, allocations: 0.823 MB / 0.8781 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/1.007, allocations: 299.1 kB / 0.8784 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/1.007, allocations: 17.55 kB / 0.8784 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/1.008, allocations: 76.59 kB / 0.8785 GB, free: 5.383 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/1.009, allocations: 33.34 kB / 0.8785 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/1.009, allocations: 24.62 kB / 0.8785 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001302/1.01, allocations: 1.014 MB / 0.8795 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/1.01, allocations: 0 / 0.8795 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001659/1.012, allocations: 0.5741 MB / 0.8801 GB, free: 5.219 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.002126/1.014, allocations: 1.53 MB / 0.8816 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002779/1.016, allocations: 1.185 MB / 0.8827 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.016, allocations: 4.281 kB / 0.8828 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006539/1.017, allocations: 264 kB / 0.883 GB, free: 4.258 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003276/1.02, allocations: 0.7365 MB / 0.8837 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/1.036, allocations: 10.74 MB / 0.8942 GB, free: 15.67 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006419/1.036, allocations: 1.179 MB / 0.8954 GB, free: 14.94 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001648/1.038, allocations: 388.6 kB / 0.8957 GB, free: 14.85 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/1.039, allocations: 498.9 kB / 0.8962 GB, free: 14.84 MB / 0.67 GB Notification: Performance of SimCode: time 6.71e-07/1.039, allocations: 0 / 0.8962 GB, free: 14.84 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.933/2.971, allocations: 35.37 MB / 0.9307 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.28/19.25, allocations: 6.75 kB / 0.9308 GB, free: 13.58 MB / 0.7012 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)