Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_dev_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.005662/0.005662, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001537/0.001537, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8448/0.8448, allocations: 135.6 MB / 426.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.001911, allocations: 67.36 kB / 0.5857 GB, free: 21.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1484, allocations: 81.02 MB / 0.6649 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.5724/0.7208, allocations: 237.5 MB / 0.8968 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02331/0.7442, allocations: 15.78 MB / 0.9122 GB, free: 1.039 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002214/0.7465, allocations: 67.62 kB / 0.9123 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002915/0.7494, allocations: 1.037 MB / 0.9133 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007695/0.7571, allocations: 2.955 MB / 0.9162 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004492/0.7617, allocations: 1.69 MB / 0.9178 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005459/0.7671, allocations: 3.43 MB / 0.9212 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002356/0.7695, allocations: 1.3 MB / 0.9225 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006616/0.7762, allocations: 2.494 MB / 0.9249 GB, free: 4.023 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002423/0.7786, allocations: 1.085 MB / 0.9259 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003759/0.779, allocations: 116 kB / 0.9261 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006169/0.7852, allocations: 3.098 MB / 0.9291 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0007531/0.786, allocations: 478.4 kB / 0.9295 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.7873, allocations: 0.8046 MB / 0.9303 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006215/0.7935, allocations: 2.998 MB / 0.9333 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.7936, allocations: 4 kB / 0.9333 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7936, allocations: 0 / 0.9333 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.125e-05/0.7936, allocations: 4 kB / 0.9333 GB, free: 11.43 MB / 0.7012 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.004052/0.7977, allocations: 2.068 MB / 0.9353 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.7977, allocations: 9.109 kB / 0.9353 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002054/0.7979, allocations: 156.2 kB / 0.9354 GB, free: 9.141 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002847/0.8008, allocations: 0.5063 MB / 0.9359 GB, free: 8.633 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00253/0.8034, allocations: 1.181 MB / 0.9371 GB, free: 7.395 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.786e-05/0.8035, allocations: 78 kB / 0.9372 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/0.8037, allocations: 96 kB / 0.9373 GB, free: 7.227 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002631/0.8063, allocations: 1.35 MB / 0.9386 GB, free: 5.754 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.8064, allocations: 7.938 kB / 0.9386 GB, free: 5.746 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.8065, allocations: 40 kB / 0.9386 GB, free: 5.707 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.085e-05/0.8066, allocations: 45.98 kB / 0.9387 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002553/0.8091, allocations: 1.054 MB / 0.9397 GB, free: 4.609 MB / 0.7012 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.009181/0.8183, allocations: 7.408 MB / 0.9469 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.82, allocations: 0.5493 MB / 0.9475 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006448/0.8207, allocations: 257.2 kB / 0.9477 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004185/0.8211, allocations: 287.5 kB / 0.948 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/0.8212, allocations: 42.78 kB / 0.948 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 2.725e-06/0.8212, allocations: 4 kB / 0.948 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.002537/0.8237, allocations: 0.8407 MB / 0.9488 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.8238, allocations: 55.41 kB / 0.9489 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/0.8259, allocations: 1.395 MB / 0.9503 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.866e-05/0.826, allocations: 33.7 kB / 0.9503 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000628/0.8266, allocations: 0.7157 MB / 0.951 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.8268, allocations: 127 kB / 0.9511 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/0.8271, allocations: 170.5 kB / 0.9513 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.8272, allocations: 341.9 kB / 0.9516 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008867/0.8281, allocations: 308.6 kB / 0.9519 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.8294, allocations: 0.718 MB / 0.9526 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/0.8312, allocations: 0.9423 MB / 0.9535 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.8312, allocations: 3.938 kB / 0.9535 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002605/0.8339, allocations: 1.074 MB / 0.9546 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.8339, allocations: 12 kB / 0.9546 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.8339, allocations: 12 kB / 0.9546 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.425e-05/0.834, allocations: 16 kB / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009116/0.8349, allocations: 220 kB / 0.9548 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.846e-05/0.835, allocations: 27.91 kB / 0.9548 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.8364, allocations: 183 kB / 0.955 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.8366, allocations: 47.98 kB / 0.9551 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001375/0.8379, allocations: 0.5721 MB / 0.9556 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00121/0.8392, allocations: 0.7111 MB / 0.9563 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00185/0.841, allocations: 0.934 MB / 0.9572 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.935e-06/0.8411, allocations: 4 kB / 0.9572 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002698/0.8438, allocations: 1.083 MB / 0.9583 GB, free: 252 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.8438, allocations: 12.19 kB / 0.9583 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.8438, allocations: 12 kB / 0.9583 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.8439, allocations: 20 kB / 0.9583 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000839/0.8447, allocations: 195.7 kB / 0.9585 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.376e-05/0.8448, allocations: 28.03 kB / 0.9585 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.8462, allocations: 135.6 kB / 0.9587 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.991e-05/0.8463, allocations: 47.98 kB / 0.9587 GB, free: 15.8 MB / 0.7325 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.0002988/0.8466, allocations: 241.2 kB / 0.959 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/0.8469, allocations: 147.1 kB / 0.9591 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.8487, allocations: 0.6404 MB / 0.9597 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.537e-06/0.8487, allocations: 7.984 kB / 0.9597 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8487, allocations: 0 / 0.9597 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.8487, allocations: 0 / 0.9597 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003817/0.8526, allocations: 1.884 MB / 0.9616 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.8526, allocations: 7.938 kB / 0.9616 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004928/0.8531, allocations: 96.02 kB / 0.9617 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.8531, allocations: 8 kB / 0.9617 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.8532, allocations: 11.98 kB / 0.9617 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.8532, allocations: 12 kB / 0.9617 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/0.8532, allocations: 7.938 kB / 0.9617 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.8549, allocations: 0.8119 MB / 0.9625 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005763/0.8555, allocations: 307.9 kB / 0.9628 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.8557, allocations: 8 kB / 0.9628 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009953/0.8567, allocations: 67.92 kB / 0.9629 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-05/0.8568, allocations: 31.84 kB / 0.9629 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/0.8569, allocations: 31.81 kB / 0.9629 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001614/0.8585, allocations: 1.005 MB / 0.9639 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8585, allocations: 0 / 0.9639 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002006/0.8605, allocations: 0.5774 MB / 0.9645 GB, free: 9.707 MB / 0.7325 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.002563/0.8631, allocations: 1.51 MB / 0.9659 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003066/0.8662, allocations: 1.148 MB / 0.9671 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.8662, allocations: 0 / 0.9671 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006966/0.8669, allocations: 257.5 kB / 0.9673 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003655/0.8706, allocations: 0.7335 MB / 0.968 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/0.8892, allocations: 9.889 MB / 0.9777 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009325/0.8902, allocations: 1.19 MB / 0.9788 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001581/0.8918, allocations: 387.8 kB / 0.9792 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007563/0.8926, allocations: 499.3 kB / 0.9797 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of SimCode: time 1.182e-06/0.8926, allocations: 0 / 0.9797 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07392/0.9665, allocations: 35.57 MB / 1.014 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/12.14, allocations: 4 kB / 1.014 GB, free: 6.293 MB / 0.7794 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)