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.004277/0.004277, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001271/0.001271, allocations: 202 kB / 16.68 MB, free: 5.969 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7945/0.7945, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 67.91 kB / 0.5809 GB, free: 8.039 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3615, allocations: 80.21 MB / 0.6592 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.5916/0.953, allocations: 237.5 MB / 0.8911 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01787/0.971, allocations: 15.76 MB / 0.9065 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002702/0.9737, allocations: 60.84 kB / 0.9066 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002419/0.9762, allocations: 1.044 MB / 0.9076 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006852/0.9831, allocations: 2.968 MB / 0.9105 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003788/0.9869, allocations: 1.686 MB / 0.9122 GB, free: 1.531 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004206/0.9911, allocations: 3.434 MB / 0.9155 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.9927, allocations: 1.292 MB / 0.9168 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005159/0.9979, allocations: 2.502 MB / 0.9192 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001764/0.9997, allocations: 1.078 MB / 0.9203 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001754/0.9998, allocations: 117.9 kB / 0.9204 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004898/1.005, allocations: 3.104 MB / 0.9234 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003813/1.005, allocations: 478 kB / 0.9239 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007261/1.006, allocations: 0.8137 MB / 0.9247 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003789/1.01, allocations: 2.995 MB / 0.9276 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/1.01, allocations: 0 / 0.9276 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.153e-06/1.01, allocations: 3.094 kB / 0.9276 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.295e-05/1.01, allocations: 0 / 0.9276 GB, free: 0.6953 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.003064/1.013, allocations: 2.073 MB / 0.9296 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/1.013, allocations: 8.969 kB / 0.9296 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001713/1.013, allocations: 154.1 kB / 0.9298 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/1.016, allocations: 0.4984 MB / 0.9302 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/1.018, allocations: 1.184 MB / 0.9314 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/1.018, allocations: 75.25 kB / 0.9315 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/1.018, allocations: 104.4 kB / 0.9316 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/1.02, allocations: 1.352 MB / 0.9329 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/1.02, allocations: 9.344 kB / 0.9329 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.733e-05/1.02, allocations: 46.86 kB / 0.933 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.099e-05/1.02, allocations: 44.47 kB / 0.933 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/1.022, allocations: 1.053 MB / 0.934 GB, free: 14.68 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.007095/1.029, allocations: 7.396 MB / 0.9412 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/1.031, allocations: 0.545 MB / 0.9418 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005644/1.031, allocations: 260.4 kB / 0.942 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003881/1.032, allocations: 285.2 kB / 0.9423 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/1.032, allocations: 36.69 kB / 0.9423 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=33): time 2.043e-06/1.032, allocations: 0 / 0.9423 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of matching and sorting (n=33): time 0.002238/1.034, allocations: 0.8431 MB / 0.9432 GB, free: 9.184 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/1.034, allocations: 53.94 kB / 0.9432 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/1.036, allocations: 1.398 MB / 0.9446 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.687e-05/1.036, allocations: 43.83 kB / 0.9446 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004759/1.036, allocations: 0.7129 MB / 0.9453 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/1.036, allocations: 123.9 kB / 0.9454 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/1.036, allocations: 175.5 kB / 0.9456 GB, free: 8.52 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.037, allocations: 333.5 kB / 0.9459 GB, free: 8.211 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007771/1.037, allocations: 316.2 kB / 0.9462 GB, free: 8.199 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/1.039, allocations: 0.7113 MB / 0.9469 GB, free: 7.703 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/1.04, allocations: 0.9475 MB / 0.9478 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.04, allocations: 7.906 kB / 0.9478 GB, free: 7.242 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002217/1.042, allocations: 1.074 MB / 0.9489 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.042, allocations: 13.27 kB / 0.9489 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/1.042, allocations: 11.19 kB / 0.9489 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/1.043, allocations: 18.31 kB / 0.9489 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007811/1.043, allocations: 209.3 kB / 0.9491 GB, free: 7.109 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/1.043, allocations: 22.19 kB / 0.9492 GB, free: 7.109 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/1.045, allocations: 184 kB / 0.9493 GB, free: 7.039 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.329e-05/1.045, allocations: 50.23 kB / 0.9494 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00105/1.046, allocations: 0.574 MB / 0.9499 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00107/1.047, allocations: 0.7097 MB / 0.9506 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001629/1.048, allocations: 0.9455 MB / 0.9516 GB, free: 5.984 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.879e-06/1.048, allocations: 2.625 kB / 0.9516 GB, free: 5.984 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002015/1.05, allocations: 1.069 MB / 0.9526 GB, free: 5.855 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/1.05, allocations: 9.625 kB / 0.9526 GB, free: 5.855 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.05, allocations: 17.47 kB / 0.9526 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/1.05, allocations: 18.84 kB / 0.9526 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007292/1.051, allocations: 203.2 kB / 0.9528 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/1.051, allocations: 29.39 kB / 0.9529 GB, free: 5.848 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/1.052, allocations: 131.6 kB / 0.953 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.531e-05/1.052, allocations: 42.44 kB / 0.953 GB, free: 5.82 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.0002389/1.053, allocations: 243.1 kB / 0.9533 GB, free: 5.629 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/1.053, allocations: 148.2 kB / 0.9534 GB, free: 5.551 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/1.054, allocations: 0.6424 MB / 0.954 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/1.054, allocations: 2.438 kB / 0.954 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.054, allocations: 0 / 0.954 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.054, allocations: 2.062 kB / 0.954 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00314/1.058, allocations: 1.891 MB / 0.9559 GB, free: 4.848 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.058, allocations: 4.781 kB / 0.9559 GB, free: 4.848 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/1.058, allocations: 94.14 kB / 0.956 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/1.058, allocations: 5.781 kB / 0.956 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/1.058, allocations: 8.625 kB / 0.956 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.347e-06/1.058, allocations: 12.27 kB / 0.956 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.058, allocations: 7.531 kB / 0.956 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/1.06, allocations: 0.8103 MB / 0.9568 GB, free: 4.367 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/1.06, allocations: 315.5 kB / 0.9571 GB, free: 4.145 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/1.06, allocations: 10.84 kB / 0.9571 GB, free: 4.145 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009635/1.061, allocations: 66.48 kB / 0.9572 GB, free: 4.121 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/1.061, allocations: 38.05 kB / 0.9572 GB, free: 4.105 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/1.061, allocations: 23.55 kB / 0.9572 GB, free: 4.098 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001254/1.063, allocations: 1.004 MB / 0.9582 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.51e-07/1.063, allocations: 0 / 0.9582 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001567/1.064, allocations: 0.5752 MB / 0.9588 GB, free: 3.777 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.00219/1.067, allocations: 1.521 MB / 0.9603 GB, free: 2.746 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002543/1.069, allocations: 1.142 MB / 0.9614 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.069, allocations: 0 / 0.9614 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006119/1.07, allocations: 258.9 kB / 0.9616 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003086/1.073, allocations: 0.7393 MB / 0.9623 GB, free: 2.195 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/1.089, allocations: 9.892 MB / 0.972 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008834/1.09, allocations: 1.188 MB / 0.9732 GB, free: 8.941 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001374/1.091, allocations: 387.8 kB / 0.9735 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006928/1.092, allocations: 499.3 kB / 0.974 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of SimCode: time 7.22e-07/1.092, allocations: 0 / 0.974 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07136/1.163, allocations: 35.57 MB / 1.009 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.979/11.14, allocations: 3.5 kB / 1.009 GB, free: 5.055 MB / 0.7481 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)