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.000955/0.000955, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009714/0.0009714, allocations: 191.7 kB / 16.25 MB, free: 6.629 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.225/1.225, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6858/0.6858, allocations: 132.2 MB / 422.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 59.44 kB / 0.5014 GB, free: 8.996 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1359, allocations: 80.2 MB / 0.5797 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.4009/0.5369, allocations: 234.6 MB / 0.8088 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01735/0.5542, allocations: 15.69 MB / 0.8241 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.5559, allocations: 55.62 kB / 0.8242 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.5579, allocations: 0.9057 MB / 0.8251 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005622/0.5636, allocations: 2.789 MB / 0.8278 GB, free: 4.859 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003143/0.5668, allocations: 1.532 MB / 0.8293 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003093/0.5699, allocations: 3.44 MB / 0.8327 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.5711, allocations: 1.258 MB / 0.8339 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004874/0.576, allocations: 2.479 MB / 0.8363 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/0.5779, allocations: 1.159 MB / 0.8374 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.578, allocations: 120 kB / 0.8375 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004438/0.5825, allocations: 3.265 MB / 0.8407 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003775/0.5829, allocations: 478.5 kB / 0.8412 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006876/0.5836, allocations: 0.8162 MB / 0.842 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003246/0.5868, allocations: 3.167 MB / 0.8451 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.5868, allocations: 0 / 0.8451 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5868, allocations: 0 / 0.8451 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.5869, allocations: 0 / 0.8451 GB, free: 3.137 MB / 0.6544 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.002902/0.5898, allocations: 2.011 MB / 0.847 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.5898, allocations: 12.03 kB / 0.8471 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/0.59, allocations: 152.2 kB / 0.8472 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002502/0.5925, allocations: 0.4898 MB / 0.8477 GB, free: 424 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.5943, allocations: 1.117 MB / 0.8488 GB, free: 15.24 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008558/0.5952, allocations: 249.8 kB / 0.849 GB, free: 15 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.5953, allocations: 100 kB / 0.8491 GB, free: 14.9 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.5975, allocations: 1.31 MB / 0.8504 GB, free: 13.5 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.5975, allocations: 7.938 kB / 0.8504 GB, free: 13.49 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.305e-05/0.5976, allocations: 47.98 kB / 0.8504 GB, free: 13.44 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.961e-05/0.5976, allocations: 41.98 kB / 0.8505 GB, free: 13.4 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/0.5999, allocations: 1.077 MB / 0.8515 GB, free: 12.32 MB / 0.67 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.006334/0.6062, allocations: 6.629 MB / 0.858 GB, free: 5.25 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.6077, allocations: 0.5659 MB / 0.8586 GB, free: 4.676 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005925/0.6083, allocations: 269.2 kB / 0.8588 GB, free: 4.41 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003447/0.6087, allocations: 287.5 kB / 0.8591 GB, free: 4.074 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.6087, allocations: 34.84 kB / 0.8591 GB, free: 4.031 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 1.833e-06/0.6087, allocations: 0 / 0.8591 GB, free: 4.031 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002165/0.6109, allocations: 0.8684 MB / 0.86 GB, free: 3.156 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.6109, allocations: 55.41 kB / 0.86 GB, free: 3.09 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.6124, allocations: 1.362 MB / 0.8614 GB, free: 1.719 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/0.6125, allocations: 37.7 kB / 0.8614 GB, free: 1.676 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004605/0.613, allocations: 0.6833 MB / 0.8621 GB, free: 0.9883 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.045e-05/0.6131, allocations: 118.3 kB / 0.8622 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.6133, allocations: 154 kB / 0.8623 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6134, allocations: 334 kB / 0.8626 GB, free: 392 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007876/0.6142, allocations: 315.2 kB / 0.8629 GB, free: 76 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2027/0.8169, allocations: 0.6545 MB / 0.8636 GB, free: 226.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.8184, allocations: 0.8617 MB / 0.8644 GB, free: 226.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.8184, allocations: 10.66 kB / 0.8644 GB, free: 226.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002059/0.8205, allocations: 1.017 MB / 0.8654 GB, free: 226.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.8205, allocations: 8.5 kB / 0.8654 GB, free: 226.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.8205, allocations: 8.5 kB / 0.8654 GB, free: 226.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.8205, allocations: 19.45 kB / 0.8655 GB, free: 226.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007379/0.8213, allocations: 188.3 kB / 0.8656 GB, free: 226.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.8213, allocations: 20.47 kB / 0.8657 GB, free: 226.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.8226, allocations: 217 kB / 0.8659 GB, free: 226.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/0.8227, allocations: 42.58 kB / 0.8659 GB, free: 226.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001005/0.8237, allocations: 0.5669 MB / 0.8665 GB, free: 226.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007858/0.8245, allocations: 0.6525 MB / 0.8671 GB, free: 225.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001283/0.8258, allocations: 0.8696 MB / 0.8679 GB, free: 225.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.087e-06/0.8258, allocations: 2.938 kB / 0.8679 GB, free: 225.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.001826/0.8276, allocations: 1.012 MB / 0.8689 GB, free: 224.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.8277, allocations: 13.47 kB / 0.8689 GB, free: 224.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.8277, allocations: 9.281 kB / 0.869 GB, free: 224.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.158e-06/0.8277, allocations: 13.12 kB / 0.869 GB, free: 224.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.8284, allocations: 194.5 kB / 0.8692 GB, free: 224.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.8284, allocations: 19.66 kB / 0.8692 GB, free: 224.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.8295, allocations: 162 kB / 0.8693 GB, free: 224.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.8296, allocations: 45.03 kB / 0.8694 GB, free: 224.8 MB / 0.67 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.000157/0.8297, allocations: 230.2 kB / 0.8696 GB, free: 224.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.8299, allocations: 135.6 kB / 0.8697 GB, free: 224.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.8313, allocations: 0.6683 MB / 0.8704 GB, free: 224.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.8313, allocations: 2.844 kB / 0.8704 GB, free: 224.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.8313, allocations: 0 / 0.8704 GB, free: 224.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.8313, allocations: 0 / 0.8704 GB, free: 224.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.8339, allocations: 1.933 MB / 0.8723 GB, free: 223.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.8339, allocations: 4.062 kB / 0.8723 GB, free: 223.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004394/0.8344, allocations: 103.9 kB / 0.8724 GB, free: 223.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.8344, allocations: 3.125 kB / 0.8724 GB, free: 223.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.8344, allocations: 15.95 kB / 0.8724 GB, free: 223.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.8344, allocations: 5.75 kB / 0.8724 GB, free: 223.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.8344, allocations: 2.906 kB / 0.8724 GB, free: 223.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.8356, allocations: 0.824 MB / 0.8732 GB, free: 222.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002935/0.8359, allocations: 297.3 kB / 0.8735 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.8361, allocations: 19.59 kB / 0.8735 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009446/0.8371, allocations: 94.72 kB / 0.8736 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.8371, allocations: 35.14 kB / 0.8736 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/0.8372, allocations: 22.12 kB / 0.8736 GB, free: 222.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000979/0.8382, allocations: 0.9896 MB / 0.8746 GB, free: 222.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.32e-07/0.8382, allocations: 0 / 0.8746 GB, free: 222.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001291/0.8395, allocations: 0.5778 MB / 0.8752 GB, free: 222.2 MB / 0.67 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.001661/0.8411, allocations: 1.516 MB / 0.8767 GB, free: 221.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002144/0.8433, allocations: 1.126 MB / 0.8778 GB, free: 220.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.8433, allocations: 3.344 kB / 0.8778 GB, free: 220.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005424/0.8439, allocations: 263.9 kB / 0.878 GB, free: 220.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/0.8465, allocations: 0.7519 MB / 0.8787 GB, free: 220.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/0.8604, allocations: 10.78 MB / 0.8893 GB, free: 214.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.8608, allocations: 1.183 MB / 0.8904 GB, free: 213.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001211/0.862, allocations: 361 kB / 0.8908 GB, free: 213.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/0.8625, allocations: 0.493 MB / 0.8912 GB, free: 213.1 MB / 0.67 GB Notification: Performance of SimCode: time 2.81e-07/0.8625, allocations: 0 / 0.8912 GB, free: 213.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9988/1.861, allocations: 34.71 MB / 0.9251 GB, free: 204.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/1.862, allocations: 223.2 kB / 0.9254 GB, free: 204.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.718/4.58, allocations: 0 / 0.9254 GB, free: 204.3 MB / 0.67 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)