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.001683/0.001683, allocations: 108 kB / 15.61 MB, free: 152 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.001992/0.001992, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.308/1.308, 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-master/package.mo): time 0.8972/0.8972, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 67.3 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1289, allocations: 80.93 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.4404/0.5694, allocations: 237.5 MB / 0.8164 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02036/0.5898, allocations: 15.76 MB / 0.8318 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.592, allocations: 63.62 kB / 0.8319 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002464/0.5945, allocations: 1.033 MB / 0.8329 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006631/0.6012, allocations: 2.965 MB / 0.8358 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00372/0.6049, allocations: 1.677 MB / 0.8374 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003903/0.6088, allocations: 3.425 MB / 0.8408 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/0.6105, allocations: 1.301 MB / 0.842 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005092/0.6156, allocations: 2.5 MB / 0.8445 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.6172, allocations: 1.069 MB / 0.8455 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000193/0.6174, allocations: 116 kB / 0.8456 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005225/0.6227, allocations: 3.106 MB / 0.8487 GB, free: 14.1 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005114/0.6232, allocations: 478.5 kB / 0.8491 GB, free: 13.63 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009294/0.6241, allocations: 0.8085 MB / 0.8499 GB, free: 12.82 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00426/0.6284, allocations: 2.949 MB / 0.8528 GB, free: 9.859 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6284, allocations: 4 kB / 0.8528 GB, free: 9.855 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6284, allocations: 4 kB / 0.8528 GB, free: 9.852 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.837e-05/0.6285, allocations: 0 / 0.8528 GB, free: 9.852 MB / 0.67 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.003289/0.6318, allocations: 2.004 MB / 0.8547 GB, free: 7.797 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.6318, allocations: 8.031 kB / 0.8548 GB, free: 7.789 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001682/0.632, allocations: 155.3 kB / 0.8549 GB, free: 7.633 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002713/0.6347, allocations: 0.4975 MB / 0.8554 GB, free: 7.133 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/0.6367, allocations: 1.11 MB / 0.8565 GB, free: 5.965 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009645/0.6377, allocations: 245.8 kB / 0.8567 GB, free: 5.727 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.6378, allocations: 104 kB / 0.8568 GB, free: 5.625 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002374/0.6402, allocations: 1.358 MB / 0.8581 GB, free: 4.145 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.6402, allocations: 7.938 kB / 0.8581 GB, free: 4.137 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.6404, allocations: 44 kB / 0.8582 GB, free: 4.094 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.143e-05/0.6404, allocations: 49.98 kB / 0.8582 GB, free: 4.047 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002485/0.6429, allocations: 1.077 MB / 0.8593 GB, free: 2.965 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.238/0.8809, allocations: 7.448 MB / 0.8666 GB, free: 219.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.8825, allocations: 0.5632 MB / 0.8671 GB, free: 219.1 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006145/0.8832, allocations: 267.5 kB / 0.8674 GB, free: 219.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002996/0.8835, allocations: 287.6 kB / 0.8676 GB, free: 218.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.8835, allocations: 37.31 kB / 0.8677 GB, free: 218.8 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.485e-06/0.8835, allocations: 0 / 0.8677 GB, free: 218.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002316/0.8858, allocations: 0.8656 MB / 0.8685 GB, free: 218.8 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.8859, allocations: 54.25 kB / 0.8686 GB, free: 218.7 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.8874, allocations: 1.401 MB / 0.8699 GB, free: 218.3 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/0.8874, allocations: 32.55 kB / 0.87 GB, free: 218.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/0.8878, allocations: 0.6973 MB / 0.8706 GB, free: 217.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.312e-05/0.8879, allocations: 128.9 kB / 0.8708 GB, free: 217.7 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.8881, allocations: 173.1 kB / 0.8709 GB, free: 217.6 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.788e-05/0.8882, allocations: 340.5 kB / 0.8713 GB, free: 217.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008241/0.889, allocations: 333.4 kB / 0.8716 GB, free: 217.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009696/0.89, allocations: 0.7194 MB / 0.8723 GB, free: 216.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.8916, allocations: 0.9659 MB / 0.8732 GB, free: 216 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.8916, allocations: 2.906 kB / 0.8732 GB, free: 216 MB / 0.67 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002343/0.894, allocations: 1.102 MB / 0.8743 GB, free: 215.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.894, allocations: 9.5 kB / 0.8743 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.894, allocations: 11.47 kB / 0.8743 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.015e-05/0.8941, allocations: 18.16 kB / 0.8743 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008267/0.8949, allocations: 214.1 kB / 0.8745 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.209e-05/0.8949, allocations: 30.16 kB / 0.8746 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.8964, allocations: 199.2 kB / 0.8748 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-05/0.8964, allocations: 43.44 kB / 0.8748 GB, free: 215.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001191/0.8976, allocations: 0.5874 MB / 0.8754 GB, free: 215.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009587/0.8986, allocations: 0.7213 MB / 0.8761 GB, free: 214.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001593/0.9002, allocations: 0.9681 MB / 0.877 GB, free: 214.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.921e-06/0.9002, allocations: 3.188 kB / 0.877 GB, free: 214.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002369/0.9026, allocations: 1.09 MB / 0.8781 GB, free: 213.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.9026, allocations: 12.2 kB / 0.8781 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.9027, allocations: 12.23 kB / 0.8781 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.9027, allocations: 17.88 kB / 0.8781 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008115/0.9035, allocations: 212.2 kB / 0.8783 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.9035, allocations: 27.62 kB / 0.8784 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.905, allocations: 148.9 kB / 0.8785 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.168e-05/0.905, allocations: 45.92 kB / 0.8785 GB, free: 213.7 MB / 0.67 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.0002769/0.9053, allocations: 244.2 kB / 0.8788 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.9055, allocations: 139.9 kB / 0.8789 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/0.9073, allocations: 0.667 MB / 0.8796 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.9073, allocations: 3.188 kB / 0.8796 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.9074, allocations: 0 / 0.8796 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.9074, allocations: 7.266 kB / 0.8796 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/0.9106, allocations: 1.918 MB / 0.8814 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.9107, allocations: 2.594 kB / 0.8815 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005197/0.9112, allocations: 98.78 kB / 0.8815 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.9112, allocations: 7.094 kB / 0.8816 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.9113, allocations: 15.94 kB / 0.8816 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.378e-06/0.9113, allocations: 10.28 kB / 0.8816 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.9113, allocations: 5.719 kB / 0.8816 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.9129, allocations: 0.8193 MB / 0.8824 GB, free: 211.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004337/0.9133, allocations: 298.2 kB / 0.8827 GB, free: 211.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.9135, allocations: 10.44 kB / 0.8827 GB, free: 211.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009935/0.9145, allocations: 75.44 kB / 0.8828 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.552e-05/0.9146, allocations: 38.67 kB / 0.8828 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.9147, allocations: 18.45 kB / 0.8828 GB, free: 211.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001306/0.916, allocations: 1.016 MB / 0.8838 GB, free: 211 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.4e-07/0.916, allocations: 3.75 kB / 0.8838 GB, free: 211 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001676/0.9177, allocations: 0.5726 MB / 0.8844 GB, free: 211 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.002075/0.9197, allocations: 1.522 MB / 0.8858 GB, free: 209.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002822/0.9226, allocations: 1.193 MB / 0.887 GB, free: 209.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.9226, allocations: 0 / 0.887 GB, free: 209.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006979/0.9233, allocations: 273.2 kB / 0.8873 GB, free: 209.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003197/0.9265, allocations: 0.7388 MB / 0.888 GB, free: 209.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01544/0.942, allocations: 10.71 MB / 0.8984 GB, free: 203.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/0.9426, allocations: 1.189 MB / 0.8996 GB, free: 202.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001684/0.9443, allocations: 386.1 kB / 0.9 GB, free: 202.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005491/0.9448, allocations: 0.4926 MB / 0.9005 GB, free: 201.9 MB / 0.67 GB Notification: Performance of SimCode: time 8.12e-07/0.9449, allocations: 0 / 0.9005 GB, free: 201.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06616/1.011, allocations: 35.39 MB / 0.935 GB, free: 191.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.268/9.279, allocations: 7.719 kB / 0.935 GB, free: 191.6 MB / 0.67 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)