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.007447/0.007447, allocations: 98.89 kB / 15.73 MB, free: 6.043 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.00192/0.00192, allocations: 200.6 kB / 16.68 MB, free: 5.965 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9344/0.9344, allocations: 135.6 MB / 426.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 63.91 kB / 0.5857 GB, free: 3.27 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3748, allocations: 81.02 MB / 0.6649 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.6192/0.9941, allocations: 237.5 MB / 0.8968 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01735/1.011, allocations: 15.78 MB / 0.9122 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002659/1.014, allocations: 60.19 kB / 0.9123 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002457/1.017, allocations: 1.034 MB / 0.9133 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007025/1.024, allocations: 2.961 MB / 0.9162 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00426/1.028, allocations: 1.693 MB / 0.9178 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004396/1.032, allocations: 3.431 MB / 0.9212 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/1.034, allocations: 1.292 MB / 0.9224 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005722/1.04, allocations: 2.5 MB / 0.9249 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/1.042, allocations: 1.086 MB / 0.926 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002349/1.042, allocations: 117.3 kB / 0.9261 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005484/1.048, allocations: 3.096 MB / 0.9291 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005596/1.048, allocations: 486.6 kB / 0.9295 GB, free: 1.156 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/1.049, allocations: 0.8099 MB / 0.9303 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004933/1.054, allocations: 2.996 MB / 0.9333 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/1.054, allocations: 0 / 0.9333 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.433e-06/1.054, allocations: 0.8438 kB / 0.9333 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.037e-05/1.054, allocations: 0 / 0.9333 GB, free: 0.5234 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.0033/1.058, allocations: 2.07 MB / 0.9353 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/1.058, allocations: 10.38 kB / 0.9353 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/1.058, allocations: 153.4 kB / 0.9354 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002588/1.06, allocations: 0.5038 MB / 0.9359 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/1.063, allocations: 1.178 MB / 0.9371 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.468e-05/1.063, allocations: 79.59 kB / 0.9372 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/1.063, allocations: 103 kB / 0.9373 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/1.065, allocations: 1.347 MB / 0.9386 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/1.065, allocations: 5.844 kB / 0.9386 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-05/1.065, allocations: 40.5 kB / 0.9386 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-05/1.065, allocations: 51.81 kB / 0.9387 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/1.067, allocations: 1.05 MB / 0.9397 GB, free: 14.52 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.007685/1.075, allocations: 7.416 MB / 0.9469 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/1.076, allocations: 0.5381 MB / 0.9475 GB, free: 9.465 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005497/1.077, allocations: 255.9 kB / 0.9477 GB, free: 9.453 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003906/1.077, allocations: 285.4 kB / 0.948 GB, free: 9.168 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/1.077, allocations: 37.78 kB / 0.948 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=33): time 2.425e-06/1.077, allocations: 0 / 0.948 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of matching and sorting (n=33): time 0.002194/1.079, allocations: 0.8467 MB / 0.9488 GB, free: 9 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/1.08, allocations: 53.91 kB / 0.9489 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/1.081, allocations: 1.394 MB / 0.9503 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.889e-05/1.081, allocations: 34.92 kB / 0.9503 GB, free: 8.727 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005288/1.082, allocations: 0.7175 MB / 0.951 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/1.082, allocations: 117.7 kB / 0.9511 GB, free: 8.375 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/1.082, allocations: 175.7 kB / 0.9513 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.082, allocations: 338.3 kB / 0.9516 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007979/1.083, allocations: 314.9 kB / 0.9519 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.084, allocations: 0.7157 MB / 0.9526 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/1.086, allocations: 0.9512 MB / 0.9535 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/1.086, allocations: 2.562 kB / 0.9535 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002221/1.088, allocations: 1.072 MB / 0.9546 GB, free: 6.93 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/1.088, allocations: 11.38 kB / 0.9546 GB, free: 6.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/1.088, allocations: 11.56 kB / 0.9546 GB, free: 6.93 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/1.088, allocations: 16.44 kB / 0.9546 GB, free: 6.93 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007858/1.089, allocations: 207.1 kB / 0.9548 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.258e-05/1.089, allocations: 25.5 kB / 0.9548 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/1.09, allocations: 188.4 kB / 0.955 GB, free: 6.855 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/1.091, allocations: 47.61 kB / 0.9551 GB, free: 6.855 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001138/1.092, allocations: 0.5742 MB / 0.9556 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001089/1.093, allocations: 0.7096 MB / 0.9563 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001606/1.094, allocations: 0.9499 MB / 0.9572 GB, free: 5.797 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.931e-06/1.094, allocations: 2.75 kB / 0.9572 GB, free: 5.797 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002313/1.097, allocations: 1.068 MB / 0.9583 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.097, allocations: 9.531 kB / 0.9583 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/1.097, allocations: 21.84 kB / 0.9583 GB, free: 5.66 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/1.097, allocations: 18.66 kB / 0.9583 GB, free: 5.66 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000752/1.098, allocations: 203.3 kB / 0.9585 GB, free: 5.652 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/1.098, allocations: 29.02 kB / 0.9586 GB, free: 5.648 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/1.099, allocations: 135.9 kB / 0.9587 GB, free: 5.59 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.37e-05/1.099, allocations: 42.19 kB / 0.9587 GB, free: 5.59 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.000293/1.099, allocations: 243.6 kB / 0.959 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/1.1, allocations: 147.6 kB / 0.9591 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/1.101, allocations: 0.643 MB / 0.9597 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.101, allocations: 2.5 kB / 0.9597 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.101, allocations: 0 / 0.9597 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/1.101, allocations: 7.359 kB / 0.9597 GB, free: 5.094 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/1.104, allocations: 1.884 MB / 0.9616 GB, free: 4.223 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/1.104, allocations: 2.125 kB / 0.9616 GB, free: 4.223 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/1.105, allocations: 92.2 kB / 0.9617 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/1.105, allocations: 5.312 kB / 0.9617 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/1.105, allocations: 16.8 kB / 0.9617 GB, free: 4.195 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/1.105, allocations: 12.5 kB / 0.9617 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.105, allocations: 2.25 kB / 0.9617 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/1.107, allocations: 0.8207 MB / 0.9625 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005037/1.107, allocations: 301 kB / 0.9628 GB, free: 3.387 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/1.107, allocations: 15.23 kB / 0.9628 GB, free: 3.379 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009315/1.108, allocations: 64.73 kB / 0.9629 GB, free: 3.352 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/1.108, allocations: 38.78 kB / 0.9629 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/1.108, allocations: 25.14 kB / 0.9629 GB, free: 3.32 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001497/1.11, allocations: 1.005 MB / 0.9639 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/1.11, allocations: 0 / 0.9639 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001798/1.112, allocations: 0.5786 MB / 0.9645 GB, free: 2.695 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.002353/1.114, allocations: 1.518 MB / 0.966 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002836/1.117, allocations: 1.138 MB / 0.9671 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.117, allocations: 0 / 0.9671 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006362/1.118, allocations: 261.2 kB / 0.9673 GB, free: 1 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003606/1.121, allocations: 0.7373 MB / 0.968 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/1.138, allocations: 9.888 MB / 0.9777 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009551/1.139, allocations: 1.188 MB / 0.9788 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001548/1.141, allocations: 387.8 kB / 0.9792 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007041/1.142, allocations: 495.3 kB / 0.9797 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of SimCode: time 1.032e-06/1.142, allocations: 7.938 kB / 0.9797 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0739/1.216, allocations: 35.56 MB / 1.014 GB, free: 1.879 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/11.26, allocations: 7.797 kB / 1.014 GB, free: 1.871 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)