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.001587/0.001587, 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.00196/0.00196, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7433/0.7433, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 65.12 kB / 0.5019 GB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3349, allocations: 80.2 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.2382/0.5732, allocations: 237.5 MB / 0.8122 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3211/0.8943, allocations: 15.76 MB / 0.8275 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/0.8964, allocations: 61.5 kB / 0.8276 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.8986, allocations: 1.033 MB / 0.8286 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006457/0.9052, allocations: 2.963 MB / 0.8315 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00392/0.9091, allocations: 1.671 MB / 0.8331 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004329/0.9134, allocations: 3.427 MB / 0.8365 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.9151, allocations: 1.287 MB / 0.8377 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005331/0.9205, allocations: 2.491 MB / 0.8402 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/0.9224, allocations: 1.077 MB / 0.8412 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002157/0.9227, allocations: 120 kB / 0.8413 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005156/0.9278, allocations: 3.098 MB / 0.8444 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005348/0.9284, allocations: 484.5 kB / 0.8448 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.9296, allocations: 0.8078 MB / 0.8456 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00458/0.9341, allocations: 2.949 MB / 0.8485 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.9342, allocations: 2.031 kB / 0.8485 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9342, allocations: 0 / 0.8485 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.67e-05/0.9342, allocations: 0.9062 kB / 0.8485 GB, free: 1.449 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.003363/0.9376, allocations: 2.005 MB / 0.8505 GB, free: 16.41 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.9376, allocations: 10.94 kB / 0.8505 GB, free: 16.41 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001653/0.9378, allocations: 159 kB / 0.8506 GB, free: 16.38 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002676/0.9405, allocations: 0.4888 MB / 0.8511 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.9425, allocations: 1.114 MB / 0.8522 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008722/0.9433, allocations: 248.7 kB / 0.8524 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.9435, allocations: 101.8 kB / 0.8525 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/0.9456, allocations: 1.36 MB / 0.8538 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.9457, allocations: 9.219 kB / 0.8539 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.962e-05/0.9458, allocations: 48.66 kB / 0.8539 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/0.9458, allocations: 48.55 kB / 0.854 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.9483, allocations: 1.083 MB / 0.855 GB, free: 15.52 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.007223/0.9555, allocations: 7.439 MB / 0.8623 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.9572, allocations: 0.5642 MB / 0.8628 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006122/0.9579, allocations: 272.3 kB / 0.8631 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003584/0.9582, allocations: 285.7 kB / 0.8634 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.9583, allocations: 38.78 kB / 0.8634 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 2.084e-06/0.9583, allocations: 4.219 kB / 0.8634 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.002395/0.9607, allocations: 0.8628 MB / 0.8642 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.9607, allocations: 55.69 kB / 0.8643 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.9623, allocations: 1.402 MB / 0.8657 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.183e-05/0.9624, allocations: 34.11 kB / 0.8657 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000425/0.9628, allocations: 0.6992 MB / 0.8664 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.9629, allocations: 124.3 kB / 0.8665 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.9632, allocations: 170.5 kB / 0.8667 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.9633, allocations: 335.2 kB / 0.867 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008313/0.9641, allocations: 336.4 kB / 0.8673 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.9652, allocations: 0.7312 MB / 0.868 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.9669, allocations: 0.9645 MB / 0.869 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.967, allocations: 8.75 kB / 0.869 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002434/0.9694, allocations: 1.09 MB / 0.87 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.9694, allocations: 9.156 kB / 0.87 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.9695, allocations: 15.88 kB / 0.8701 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.9695, allocations: 22.89 kB / 0.8701 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008986/0.9704, allocations: 217.2 kB / 0.8703 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.333e-05/0.9704, allocations: 22.03 kB / 0.8703 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.9718, allocations: 200.3 kB / 0.8705 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.111e-05/0.9719, allocations: 44.06 kB / 0.8705 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001353/0.9733, allocations: 0.5866 MB / 0.8711 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001097/0.9744, allocations: 0.7306 MB / 0.8718 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001685/0.9761, allocations: 0.9611 MB / 0.8728 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.601e-06/0.9761, allocations: 5.969 kB / 0.8728 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002344/0.9784, allocations: 1.094 MB / 0.8738 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.9785, allocations: 13.84 kB / 0.8738 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.9785, allocations: 13.12 kB / 0.8739 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.9785, allocations: 17.91 kB / 0.8739 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008136/0.9793, allocations: 218.8 kB / 0.8741 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.9794, allocations: 22.34 kB / 0.8741 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.9807, allocations: 149.6 kB / 0.8742 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-05/0.9808, allocations: 44.58 kB / 0.8743 GB, free: 6.754 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.0002428/0.981, allocations: 235 kB / 0.8745 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.9812, allocations: 141.8 kB / 0.8747 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.9829, allocations: 0.6654 MB / 0.8753 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.9829, allocations: 2.594 kB / 0.8753 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.9829, allocations: 0 / 0.8753 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.9829, allocations: 2.906 kB / 0.8753 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/0.9862, allocations: 1.91 MB / 0.8772 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.9862, allocations: 6.281 kB / 0.8772 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004953/0.9867, allocations: 99.75 kB / 0.8773 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.9867, allocations: 7.172 kB / 0.8773 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.9867, allocations: 11.31 kB / 0.8773 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.9867, allocations: 10.97 kB / 0.8773 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.9868, allocations: 5.781 kB / 0.8773 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.9883, allocations: 0.8238 MB / 0.8781 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004069/0.9887, allocations: 297.3 kB / 0.8784 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/0.9889, allocations: 10.59 kB / 0.8784 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.99, allocations: 77.78 kB / 0.8785 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/0.9901, allocations: 38.59 kB / 0.8785 GB, free: 5.359 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/0.9901, allocations: 22.33 kB / 0.8785 GB, free: 5.359 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001262/0.9914, allocations: 1.012 MB / 0.8795 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9914, allocations: 0 / 0.8795 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001684/0.9931, allocations: 0.5793 MB / 0.8801 GB, free: 5.195 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.002158/0.9952, allocations: 1.525 MB / 0.8816 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002822/0.9981, allocations: 1.186 MB / 0.8827 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.9981, allocations: 2.031 kB / 0.8827 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006553/0.9988, allocations: 263.9 kB / 0.883 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/1.002, allocations: 0.7463 MB / 0.8837 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/1.018, allocations: 10.73 MB / 0.8942 GB, free: 15.64 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006553/1.018, allocations: 1.185 MB / 0.8954 GB, free: 14.91 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001769/1.02, allocations: 388.9 kB / 0.8957 GB, free: 14.82 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005516/1.021, allocations: 0.4884 MB / 0.8962 GB, free: 14.81 MB / 0.67 GB Notification: Performance of SimCode: time 5.41e-07/1.021, allocations: 0 / 0.8962 GB, free: 14.81 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06008/1.081, allocations: 35.37 MB / 0.9307 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.165/9.246, allocations: 0 / 0.9307 GB, free: 13.54 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Examples_Performance_Example4.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)