Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009207/0.0009207, allocations: 181.4 kB / 8.009 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5113/0.5113, allocations: 90.91 MB / 99.34 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 221.5 MB / 343.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001041, allocations: 102.4 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.76e-05/1.762e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1489, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/1.219, allocations: 386.3 MB / 0.9308 GB, free: 94.28 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/1.22, allocations: 94.06 kB / 0.9309 GB, free: 94.23 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.723/4.943, allocations: 1.063 GB / 1.994 GB, free: 101.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.152e-06/4.943, allocations: 0 / 1.994 GB, free: 101.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001662/4.943, allocations: 31.34 kB / 1.994 GB, free: 101.2 MB / 0.6198 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.003326/4.946, allocations: 1.496 MB / 1.996 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/4.947, allocations: 6.344 kB / 1.996 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002164/4.949, allocations: 451.4 kB / 1.996 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/4.951, allocations: 1.293 MB / 1.997 GB, free: 100.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003162/4.952, allocations: 102.4 kB / 1.997 GB, free: 100.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/4.952, allocations: 46.66 kB / 1.998 GB, free: 100.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001161/4.953, allocations: 0.629 MB / 1.998 GB, free: 100.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/4.954, allocations: 0.767 MB / 1.999 GB, free: 100 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/4.954, allocations: 3.469 kB / 1.999 GB, free: 100 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.121e-05/4.955, allocations: 3.703 kB / 1.999 GB, free: 100 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/4.955, allocations: 32.67 kB / 1.999 GB, free: 100 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.005259/4.96, allocations: 4.551 MB / 2.003 GB, free: 97.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/4.962, allocations: 0.6695 MB / 2.004 GB, free: 97.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/4.962, allocations: 204 kB / 2.004 GB, free: 97.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004252/4.963, allocations: 0.9087 MB / 2.005 GB, free: 96.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/4.963, allocations: 47.88 kB / 2.005 GB, free: 96.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=43): time 2.856e-06/4.963, allocations: 0 / 2.005 GB, free: 96.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.002542/4.965, allocations: 0.7639 MB / 2.006 GB, free: 96.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.651e-05/4.965, allocations: 53.94 kB / 2.006 GB, free: 96.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007951/4.966, allocations: 0.7435 MB / 2.007 GB, free: 96.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/4.966, allocations: 28.83 kB / 2.007 GB, free: 96.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/4.967, allocations: 0.541 MB / 2.007 GB, free: 95.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.715e-05/4.967, allocations: 142.5 kB / 2.007 GB, free: 95.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/4.967, allocations: 3.125 kB / 2.007 GB, free: 95.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.947e-05/4.967, allocations: 326.6 kB / 2.008 GB, free: 95.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/4.967, allocations: 173.7 kB / 2.008 GB, free: 95.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/4.967, allocations: 418.9 kB / 2.008 GB, free: 95.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005968/4.968, allocations: 262.2 kB / 2.008 GB, free: 95.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/4.968, allocations: 0 / 2.008 GB, free: 95.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002629/4.971, allocations: 0.9272 MB / 2.009 GB, free: 95.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002542/4.971, allocations: 1.57 MB / 2.011 GB, free: 93.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/4.971, allocations: 3.938 kB / 2.011 GB, free: 93.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005885/4.971, allocations: 233.7 kB / 2.011 GB, free: 93.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/4.972, allocations: 118.7 kB / 2.011 GB, free: 93.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007672/4.973, allocations: 0.8786 MB / 2.012 GB, free: 93.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/4.974, allocations: 163.8 kB / 2.012 GB, free: 93.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.569e-05/4.974, allocations: 34.8 kB / 2.012 GB, free: 93.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/4.974, allocations: 7.188 kB / 2.012 GB, free: 93.01 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002495/4.977, allocations: 0.7876 MB / 2.013 GB, free: 92.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/4.977, allocations: 3.594 kB / 2.013 GB, free: 92.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005265/4.977, allocations: 240.4 kB / 2.013 GB, free: 92.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/4.978, allocations: 113.6 kB / 2.013 GB, free: 92.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007857/4.978, allocations: 0.8646 MB / 2.014 GB, free: 92.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/4.979, allocations: 136.7 kB / 2.014 GB, free: 92.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/4.979, allocations: 30.69 kB / 2.014 GB, free: 92.44 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001904/4.98, allocations: 129 kB / 2.015 GB, free: 92.32 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002392/4.982, allocations: 0.7575 MB / 2.015 GB, free: 92.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/4.982, allocations: 96.81 kB / 2.015 GB, free: 92.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002765/4.985, allocations: 0.927 MB / 2.016 GB, free: 92.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/4.985, allocations: 10.05 kB / 2.016 GB, free: 92.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/4.985, allocations: 5.125 kB / 2.016 GB, free: 92.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/4.985, allocations: 0 / 2.016 GB, free: 92.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004138/4.989, allocations: 1.882 MB / 2.018 GB, free: 91.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/4.989, allocations: 5.406 kB / 2.018 GB, free: 91.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/4.989, allocations: 67.92 kB / 2.018 GB, free: 91.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006297/4.99, allocations: 245.9 kB / 2.018 GB, free: 91.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/4.99, allocations: 17.91 kB / 2.018 GB, free: 91.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008843/4.991, allocations: 0.8948 MB / 2.019 GB, free: 91.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/4.991, allocations: 3.781 kB / 2.019 GB, free: 91.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/4.994, allocations: 1.116 MB / 2.02 GB, free: 90.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/4.994, allocations: 269.1 kB / 2.021 GB, free: 90.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/4.994, allocations: 6.094 kB / 2.021 GB, free: 90.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000776/4.995, allocations: 97.42 kB / 2.021 GB, free: 90.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/4.995, allocations: 33.75 kB / 2.021 GB, free: 90.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/4.995, allocations: 22.25 kB / 2.021 GB, free: 90.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000647/4.996, allocations: 0.5741 MB / 2.021 GB, free: 90.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/4.996, allocations: 0 / 2.021 GB, free: 90.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001606/4.998, allocations: 0.6142 MB / 2.022 GB, free: 90.4 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.003733/5.001, allocations: 2.791 MB / 2.025 GB, free: 88.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001447/5.003, allocations: 0.8055 MB / 2.026 GB, free: 88.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/5.003, allocations: 0 / 2.026 GB, free: 88.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003984/5.003, allocations: 271.4 kB / 2.026 GB, free: 88.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/5.005, allocations: 386 kB / 2.026 GB, free: 88.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004991/5.01, allocations: 1.764 MB / 2.028 GB, free: 88.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/5.01, allocations: 1.087 MB / 2.029 GB, free: 87.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001059/5.011, allocations: 236.2 kB / 2.029 GB, free: 87.56 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003672/5.012, allocations: 389.3 kB / 2.03 GB, free: 87.56 MB / 0.6198 GB Notification: Performance of SimCode: time 7.92e-07/5.012, allocations: 0 / 2.03 GB, free: 87.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06486/5.077, allocations: 32.23 MB / 2.061 GB, free: 86.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/5.077, allocations: 162.5 kB / 2.061 GB, free: 85.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.799/7.876, allocations: 2.531 kB / 2.061 GB, free: 85.94 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)