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.008111/0.008111, allocations: 95.39 kB / 15.73 MB, free: 6.039 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.001888/0.001888, allocations: 198.6 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7343/0.7343, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.16 kB / 0.5809 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1406, allocations: 80.21 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.5332/0.6739, allocations: 237.5 MB / 0.8911 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.6894, allocations: 15.77 MB / 0.9065 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002124/0.6916, allocations: 60.22 kB / 0.9066 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.6939, allocations: 1.069 MB / 0.9076 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006643/0.7006, allocations: 3.094 MB / 0.9107 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003662/0.7043, allocations: 1.696 MB / 0.9123 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003918/0.7082, allocations: 3.45 MB / 0.9157 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.7097, allocations: 1.296 MB / 0.917 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005306/0.715, allocations: 2.579 MB / 0.9195 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.7167, allocations: 1.083 MB / 0.9205 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.7169, allocations: 120.1 kB / 0.9206 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005149/0.722, allocations: 3.107 MB / 0.9237 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004327/0.7225, allocations: 477.3 kB / 0.9241 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009351/0.7234, allocations: 0.8099 MB / 0.9249 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004349/0.7278, allocations: 2.996 MB / 0.9279 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7278, allocations: 0 / 0.9279 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7278, allocations: 0 / 0.9279 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.988e-05/0.7278, allocations: 0 / 0.9279 GB, free: 6.879 MB / 0.6544 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.003408/0.7313, allocations: 2.073 MB / 0.9299 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.7313, allocations: 11.97 kB / 0.9299 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001657/0.7315, allocations: 156.2 kB / 0.93 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002667/0.7342, allocations: 0.5063 MB / 0.9305 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.7364, allocations: 1.17 MB / 0.9317 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.684e-05/0.7364, allocations: 82 kB / 0.9318 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.7366, allocations: 96 kB / 0.9318 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.7388, allocations: 1.357 MB / 0.9332 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.7388, allocations: 2.625 kB / 0.9332 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.7389, allocations: 44 kB / 0.9332 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.026e-05/0.739, allocations: 49.98 kB / 0.9333 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.7411, allocations: 1.056 MB / 0.9343 GB, free: 484 kB / 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.006881/0.748, allocations: 7.398 MB / 0.9415 GB, free: 8.719 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.7496, allocations: 0.5427 MB / 0.942 GB, free: 8.176 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006016/0.7502, allocations: 265.2 kB / 0.9423 GB, free: 7.914 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000395/0.7506, allocations: 278.4 kB / 0.9426 GB, free: 7.59 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.7506, allocations: 45.47 kB / 0.9426 GB, free: 7.539 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.7506, allocations: 0 / 0.9426 GB, free: 7.539 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002294/0.7529, allocations: 0.8458 MB / 0.9434 GB, free: 6.688 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.753, allocations: 59.34 kB / 0.9435 GB, free: 6.617 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/0.7547, allocations: 1.394 MB / 0.9449 GB, free: 5.215 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/0.7548, allocations: 33.7 kB / 0.9449 GB, free: 5.176 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005103/0.7553, allocations: 0.7172 MB / 0.9456 GB, free: 4.461 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.673e-05/0.7554, allocations: 126.5 kB / 0.9457 GB, free: 4.34 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.7556, allocations: 170.5 kB / 0.9459 GB, free: 4.168 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.7558, allocations: 341.9 kB / 0.9462 GB, free: 3.828 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008031/0.7566, allocations: 316.6 kB / 0.9465 GB, free: 3.516 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.7576, allocations: 0.7084 MB / 0.9472 GB, free: 2.633 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.7593, allocations: 0.9442 MB / 0.9481 GB, free: 1.57 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.7593, allocations: 8 kB / 0.9481 GB, free: 1.562 MB / 0.67 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002247/0.7616, allocations: 1.07 MB / 0.9492 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.7616, allocations: 8.969 kB / 0.9492 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.7616, allocations: 12 kB / 0.9492 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.7617, allocations: 20 kB / 0.9492 GB, free: 0.5156 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008352/0.7625, allocations: 211.1 kB / 0.9494 GB, free: 332 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/0.7625, allocations: 25.14 kB / 0.9494 GB, free: 312 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.7638, allocations: 187 kB / 0.9496 GB, free: 124 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.238e-05/0.7639, allocations: 51.92 kB / 0.9497 GB, free: 72 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001148/0.7651, allocations: 0.5688 MB / 0.9502 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001011/0.7661, allocations: 0.7084 MB / 0.9509 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001634/0.7677, allocations: 0.9488 MB / 0.9518 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.54e-06/0.7677, allocations: 4 kB / 0.9518 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002164/0.7699, allocations: 1.065 MB / 0.9529 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.7699, allocations: 12 kB / 0.9529 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.7699, allocations: 12 kB / 0.9529 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.77, allocations: 16.19 kB / 0.9529 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007835/0.7708, allocations: 205.5 kB / 0.9531 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/0.7708, allocations: 29.17 kB / 0.9531 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.772, allocations: 139.6 kB / 0.9533 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/0.7721, allocations: 39.98 kB / 0.9533 GB, free: 12.11 MB / 0.6856 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.0002211/0.7723, allocations: 243.9 kB / 0.9535 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.7725, allocations: 147 kB / 0.9537 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.774, allocations: 0.6495 MB / 0.9543 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.774, allocations: 7.938 kB / 0.9543 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.774, allocations: 0 / 0.9543 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.7741, allocations: 0 / 0.9543 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/0.7773, allocations: 1.877 MB / 0.9562 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.7773, allocations: 4 kB / 0.9562 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004777/0.7778, allocations: 93.3 kB / 0.9562 GB, free: 9.02 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.7778, allocations: 11.92 kB / 0.9563 GB, free: 9.008 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.7778, allocations: 12 kB / 0.9563 GB, free: 8.996 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.7778, allocations: 6.531 kB / 0.9563 GB, free: 8.992 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.7778, allocations: 7.938 kB / 0.9563 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.7793, allocations: 0.8134 MB / 0.9571 GB, free: 8.109 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004461/0.7797, allocations: 303.9 kB / 0.9574 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.7799, allocations: 12 kB / 0.9574 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009806/0.7809, allocations: 75.86 kB / 0.9575 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.781, allocations: 34.5 kB / 0.9575 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.7811, allocations: 27.97 kB / 0.9575 GB, free: 7.648 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001295/0.7824, allocations: 1.005 MB / 0.9585 GB, free: 6.648 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7824, allocations: 0 / 0.9585 GB, free: 6.648 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001638/0.784, allocations: 0.5813 MB / 0.9591 GB, free: 6.066 MB / 0.6856 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.002098/0.7861, allocations: 1.507 MB / 0.9605 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002661/0.7888, allocations: 1.148 MB / 0.9617 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.7888, allocations: 4 kB / 0.9617 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006277/0.7894, allocations: 253.2 kB / 0.9619 GB, free: 3.207 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/0.7926, allocations: 0.7412 MB / 0.9626 GB, free: 2.492 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/0.8074, allocations: 9.878 MB / 0.9723 GB, free: 8.141 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006704/0.8081, allocations: 1.19 MB / 0.9734 GB, free: 6.922 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001316/0.8094, allocations: 387.8 kB / 0.9738 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005883/0.81, allocations: 0.4915 MB / 0.9743 GB, free: 6.047 MB / 0.7012 GB Notification: Performance of SimCode: time 5.81e-07/0.81, allocations: 4 kB / 0.9743 GB, free: 6.043 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0584/0.8684, allocations: 35.56 MB / 1.009 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.55/10.42, allocations: 0 / 1.009 GB, free: 3.035 MB / 0.7325 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)