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.004597/0.004597, allocations: 98.69 kB / 15.73 MB, free: 6.004 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.001135/0.001135, allocations: 193.1 kB / 16.67 MB, free: 5.93 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8813/0.8813, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 67.89 kB / 0.5851 GB, free: 3.793 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3587, allocations: 80.91 MB / 0.6641 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.5563/0.9151, allocations: 237.5 MB / 0.8961 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01773/0.9329, allocations: 15.76 MB / 0.9115 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002201/0.9351, allocations: 61.06 kB / 0.9116 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002239/0.9374, allocations: 1.073 MB / 0.9126 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006593/0.944, allocations: 3.088 MB / 0.9156 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003854/0.9479, allocations: 1.708 MB / 0.9173 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004204/0.9521, allocations: 3.444 MB / 0.9207 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.9536, allocations: 1.292 MB / 0.9219 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005484/0.959, allocations: 2.584 MB / 0.9244 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.9609, allocations: 1.075 MB / 0.9255 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.9611, allocations: 118.9 kB / 0.9256 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005578/0.9667, allocations: 3.107 MB / 0.9286 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000476/0.9672, allocations: 481.7 kB / 0.9291 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000868/0.9681, allocations: 0.8112 MB / 0.9299 GB, free: 1.012 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004458/0.9726, allocations: 2.994 MB / 0.9328 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.9726, allocations: 0 / 0.9328 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9726, allocations: 0.9688 kB / 0.9328 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.326e-05/0.9726, allocations: 0 / 0.9328 GB, free: 0.6172 MB / 0.6856 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.003345/0.976, allocations: 2.07 MB / 0.9348 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.976, allocations: 8.438 kB / 0.9348 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.9762, allocations: 157.5 kB / 0.935 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/0.9788, allocations: 0.5104 MB / 0.9355 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.9808, allocations: 1.176 MB / 0.9366 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.56e-05/0.9809, allocations: 82.34 kB / 0.9367 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.981, allocations: 99.84 kB / 0.9368 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.9831, allocations: 1.345 MB / 0.9381 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.9831, allocations: 6.094 kB / 0.9381 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.609e-05/0.9832, allocations: 46.83 kB / 0.9382 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.421e-05/0.9833, allocations: 52.84 kB / 0.9382 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.9853, allocations: 1.053 MB / 0.9393 GB, free: 14.59 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.006494/0.9918, allocations: 7.41 MB / 0.9465 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.9932, allocations: 0.5376 MB / 0.947 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005561/0.9938, allocations: 257.4 kB / 0.9473 GB, free: 9.539 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003428/0.9942, allocations: 282.8 kB / 0.9475 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.9942, allocations: 37.34 kB / 0.9476 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=33): time 2.515e-06/0.9942, allocations: 2.5 kB / 0.9476 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of matching and sorting (n=33): time 0.00217/0.9964, allocations: 0.8424 MB / 0.9484 GB, free: 9.086 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.9964, allocations: 60.34 kB / 0.9485 GB, free: 9.02 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.998, allocations: 1.388 MB / 0.9498 GB, free: 8.844 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.405e-05/0.9981, allocations: 40.23 kB / 0.9498 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004508/0.9985, allocations: 0.7135 MB / 0.9505 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 9.231e-05/0.9986, allocations: 121.6 kB / 0.9507 GB, free: 8.457 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002768/0.9989, allocations: 174 kB / 0.9508 GB, free: 8.426 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.999, allocations: 338.5 kB / 0.9511 GB, free: 8.117 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007979/0.9998, allocations: 322.5 kB / 0.9515 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/1.001, allocations: 0.7084 MB / 0.9521 GB, free: 7.602 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/1.002, allocations: 0.9478 MB / 0.9531 GB, free: 7.148 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/1.002, allocations: 2.969 kB / 0.9531 GB, free: 7.148 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002123/1.005, allocations: 1.068 MB / 0.9541 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.005, allocations: 11.75 kB / 0.9541 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.005, allocations: 14.81 kB / 0.9541 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/1.005, allocations: 18.25 kB / 0.9542 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007864/1.005, allocations: 206 kB / 0.9544 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/1.005, allocations: 25.08 kB / 0.9544 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/1.007, allocations: 189.5 kB / 0.9546 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.486e-05/1.007, allocations: 45.22 kB / 0.9546 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001032/1.008, allocations: 0.5758 MB / 0.9552 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001054/1.009, allocations: 0.7072 MB / 0.9559 GB, free: 6.348 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001514/1.01, allocations: 0.942 MB / 0.9568 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.919e-06/1.01, allocations: 2.844 kB / 0.9568 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002065/1.013, allocations: 1.075 MB / 0.9578 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/1.013, allocations: 11.69 kB / 0.9578 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/1.013, allocations: 12.27 kB / 0.9579 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/1.013, allocations: 15.69 kB / 0.9579 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007595/1.013, allocations: 213.6 kB / 0.9581 GB, free: 5.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/1.013, allocations: 24.56 kB / 0.9581 GB, free: 5.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/1.015, allocations: 139.7 kB / 0.9582 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/1.015, allocations: 43.97 kB / 0.9583 GB, free: 5.719 MB / 0.7012 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.0002144/1.015, allocations: 241.8 kB / 0.9585 GB, free: 5.523 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/1.015, allocations: 148.7 kB / 0.9586 GB, free: 5.445 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/1.016, allocations: 0.6426 MB / 0.9593 GB, free: 5.234 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/1.017, allocations: 4.938 kB / 0.9593 GB, free: 5.234 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.017, allocations: 0 / 0.9593 GB, free: 5.234 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/1.017, allocations: 11.92 kB / 0.9593 GB, free: 5.223 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/1.02, allocations: 1.888 MB / 0.9611 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/1.02, allocations: 8.75 kB / 0.9611 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004659/1.02, allocations: 87.05 kB / 0.9612 GB, free: 4.297 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/1.02, allocations: 5.812 kB / 0.9612 GB, free: 4.297 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/1.02, allocations: 13.05 kB / 0.9612 GB, free: 4.289 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/1.02, allocations: 9.156 kB / 0.9612 GB, free: 4.289 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.02, allocations: 5.406 kB / 0.9613 GB, free: 4.289 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/1.022, allocations: 0.8074 MB / 0.962 GB, free: 3.727 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000438/1.022, allocations: 310.6 kB / 0.9623 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/1.022, allocations: 9.25 kB / 0.9623 GB, free: 3.461 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009858/1.023, allocations: 75.44 kB / 0.9624 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/1.023, allocations: 32.66 kB / 0.9625 GB, free: 3.41 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/1.023, allocations: 22.02 kB / 0.9625 GB, free: 3.402 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001248/1.025, allocations: 1.007 MB / 0.9635 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.3e-07/1.025, allocations: 0 / 0.9635 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001608/1.026, allocations: 0.5736 MB / 0.964 GB, free: 2.781 MB / 0.7012 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.002065/1.028, allocations: 1.524 MB / 0.9655 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002566/1.031, allocations: 1.147 MB / 0.9666 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.031, allocations: 0.7812 kB / 0.9666 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006067/1.032, allocations: 253.8 kB / 0.9669 GB, free: 1.074 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003139/1.035, allocations: 0.7482 MB / 0.9676 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/1.05, allocations: 9.89 MB / 0.9773 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006732/1.05, allocations: 1.182 MB / 0.9784 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001346/1.052, allocations: 387.8 kB / 0.9788 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006017/1.052, allocations: 0.4915 MB / 0.9793 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of SimCode: time 7.61e-07/1.052, allocations: 0 / 0.9793 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05652/1.109, allocations: 35.55 MB / 1.014 GB, free: 1.938 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.491/10.6, allocations: 19.7 kB / 1.014 GB, free: 1.918 MB / 0.7481 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)