Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",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.001684/0.001684, allocations: 103 kB / 16.4 MB, free: 6.027 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.002429/0.00243, allocations: 193.6 kB / 17.34 MB, free: 5.598 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.705/0.705, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 61.89 kB / 0.5572 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1605, allocations: 76.18 MB / 0.6316 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.05819/0.2187, allocations: 61.13 MB / 0.6913 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0163/0.2351, allocations: 11.99 MB / 0.703 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/0.237, allocations: 63.62 kB / 0.703 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.2389, allocations: 0.683 MB / 0.7037 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005093/0.2441, allocations: 1.963 MB / 0.7056 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00292/0.247, allocations: 1.212 MB / 0.7068 GB, free: 7.629 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003985/0.251, allocations: 3.082 MB / 0.7098 GB, free: 4.539 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001741/0.2527, allocations: 1.091 MB / 0.7109 GB, free: 3.414 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003189/0.256, allocations: 1.356 MB / 0.7122 GB, free: 2.055 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.2576, allocations: 0.8944 MB / 0.7131 GB, free: 1.156 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003154/0.2579, allocations: 116 kB / 0.7132 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/0.2609, allocations: 1.447 MB / 0.7146 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003961/0.2613, allocations: 294.9 kB / 0.7149 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.2624, allocations: 0.6997 MB / 0.7156 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004029/0.2664, allocations: 2.287 MB / 0.7178 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2665, allocations: 0 / 0.7178 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2665, allocations: 0 / 0.7178 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.98e-05/0.2666, allocations: 0 / 0.7178 GB, free: 12.31 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004078/0.2706, allocations: 1.726 MB / 0.7195 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.2707, allocations: 8.031 kB / 0.7195 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001957/0.2709, allocations: 126.9 kB / 0.7196 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002228/0.2731, allocations: 410.8 kB / 0.72 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/0.2758, allocations: 1.159 MB / 0.7211 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.389e-05/0.2758, allocations: 62 kB / 0.7212 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.276, allocations: 80 kB / 0.7213 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.278, allocations: 1.005 MB / 0.7223 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.2781, allocations: 0 / 0.7223 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.701e-05/0.2782, allocations: 32 kB / 0.7223 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.2782, allocations: 20 kB / 0.7223 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.2805, allocations: 0.8469 MB / 0.7231 GB, free: 6.664 MB / 0.5606 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.006875/0.2873, allocations: 5.226 MB / 0.7282 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00335/0.2907, allocations: 0.7887 MB / 0.729 GB, free: 272 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000709/0.2914, allocations: 296.6 kB / 0.7293 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006286/0.2921, allocations: 0.9063 MB / 0.7302 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.2921, allocations: 42.48 kB / 0.7302 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 3.246e-06/0.2921, allocations: 0 / 0.7302 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.00695/0.2991, allocations: 1.703 MB / 0.7319 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.2992, allocations: 55.41 kB / 0.7319 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/0.3009, allocations: 1.072 MB / 0.733 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.486e-05/0.301, allocations: 33.7 kB / 0.733 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/0.3014, allocations: 0.535 MB / 0.7335 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.3016, allocations: 153.8 kB / 0.7337 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.3018, allocations: 138.1 kB / 0.7338 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.302, allocations: 333.9 kB / 0.7341 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009015/0.3029, allocations: 303.3 kB / 0.7344 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.304, allocations: 0.5251 MB / 0.7349 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.3056, allocations: 0.7136 MB / 0.7356 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.3057, allocations: 0 / 0.7356 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002752/0.3084, allocations: 1.008 MB / 0.7366 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.3085, allocations: 8 kB / 0.7366 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.3085, allocations: 4 kB / 0.7366 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.3097, allocations: 319 kB / 0.7369 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005459/0.3103, allocations: 131.8 kB / 0.7371 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.3117, allocations: 0.8958 MB / 0.7379 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.3129, allocations: 155.2 kB / 0.7381 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.572e-05/0.313, allocations: 35.98 kB / 0.7381 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00121/0.3143, allocations: 0.5051 MB / 0.7386 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001012/0.3153, allocations: 0.5212 MB / 0.7391 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001593/0.3169, allocations: 0.7022 MB / 0.7398 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.668e-06/0.3169, allocations: 0 / 0.7398 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002685/0.3196, allocations: 1.004 MB / 0.7408 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3196, allocations: 4 kB / 0.7408 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3196, allocations: 12.03 kB / 0.7408 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.3207, allocations: 292.7 kB / 0.7411 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005296/0.3212, allocations: 135.8 kB / 0.7412 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.3226, allocations: 0.9023 MB / 0.7421 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.3239, allocations: 127.6 kB / 0.7422 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.723e-05/0.324, allocations: 31.98 kB / 0.7422 GB, free: 1.992 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002516/0.3242, allocations: 216.1 kB / 0.7424 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/0.3245, allocations: 114.6 kB / 0.7426 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002406/0.327, allocations: 0.9222 MB / 0.7435 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.327, allocations: 8 kB / 0.7435 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.327, allocations: 0 / 0.7435 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.327, allocations: 7.984 kB / 0.7435 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3216/0.6486, allocations: 2.13 MB / 0.7455 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/0.6487, allocations: 3.656 kB / 0.7456 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.649, allocations: 65.36 kB / 0.7456 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009771/0.65, allocations: 293.9 kB / 0.7459 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/0.65, allocations: 15.39 kB / 0.7459 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.6513, allocations: 0.9272 MB / 0.7468 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.6514, allocations: 3.031 kB / 0.7468 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003571/0.6549, allocations: 1.145 MB / 0.7479 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004761/0.6554, allocations: 261.2 kB / 0.7482 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.6556, allocations: 10.28 kB / 0.7482 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007812/0.6564, allocations: 80.25 kB / 0.7483 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/0.6565, allocations: 36.38 kB / 0.7483 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-05/0.6565, allocations: 22.67 kB / 0.7483 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001226/0.6578, allocations: 0.7563 MB / 0.7491 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6578, allocations: 1.438 kB / 0.7491 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001585/0.6594, allocations: 0.563 MB / 0.7496 GB, free: 107.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004454/0.6638, allocations: 1.969 MB / 0.7515 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002943/0.6668, allocations: 1.115 MB / 0.7526 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6668, allocations: 0 / 0.7526 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008611/0.6677, allocations: 347.9 kB / 0.753 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/0.67, allocations: 0.5124 MB / 0.7535 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/0.6871, allocations: 8.41 MB / 0.7617 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.6876, allocations: 1.067 MB / 0.7627 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009219/0.6885, allocations: 223.1 kB / 0.7629 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004305/0.6889, allocations: 416.3 kB / 0.7633 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of SimCode: time 6.12e-07/0.6889, allocations: 0 / 0.7633 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05482/0.7438, allocations: 34.17 MB / 0.7967 GB, free: 71.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.46, allocations: 7.594 kB / 0.7967 GB, free: 71.81 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)