Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness",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.005599/0.005599, allocations: 100.4 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.001611/0.001611, allocations: 197.2 kB / 16.67 MB, free: 5.977 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.667/2.667, allocations: 469.4 MB / 0.7421 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 55.91 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3167, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.7336/1.05, allocations: 81.01 MB / 1.299 GB, free: 2.23 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03201/1.082, allocations: 18.93 MB / 1.317 GB, free: 4.531 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006029/1.088, allocations: 99.41 kB / 1.317 GB, free: 4.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004332/1.093, allocations: 1.204 MB / 1.319 GB, free: 3.777 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01032/1.103, allocations: 2.931 MB / 1.322 GB, free: 2.012 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006517/1.11, allocations: 1.921 MB / 1.323 GB, free: 0.9023 MB / 1.029 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Fluid/HeatPumps/ModularReversible/Modular.mo:59:3-61:76:writable] Warning: Parameter heaPum.TConCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Fluid/HeatPumps/ModularReversible/Modular.mo:62:3-64:76:writable] Warning: Parameter heaPum.TEvaCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. Notification: Performance of NFFlatten.flatten: time 0.009257/1.119, allocations: 5.515 MB / 1.329 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005099/1.124, allocations: 2.619 MB / 1.331 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006307/1.13, allocations: 2.182 MB / 1.333 GB, free: 11.69 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004046/1.134, allocations: 1.662 MB / 1.335 GB, free: 10.85 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00113/1.136, allocations: 305 kB / 1.335 GB, free: 10.84 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005802/1.141, allocations: 1.692 MB / 1.337 GB, free: 10.27 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001599/1.143, allocations: 0.7005 MB / 1.338 GB, free: 9.805 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004074/1.147, allocations: 1.436 MB / 1.339 GB, free: 8.836 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01012/1.157, allocations: 4.818 MB / 1.344 GB, free: 7.039 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/1.157, allocations: 4 kB / 1.344 GB, free: 7.035 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.693e-06/1.157, allocations: 3.938 kB / 1.344 GB, free: 7.031 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001653/1.157, allocations: 1.656 kB / 1.344 GB, free: 7.031 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 453 * Number of variables: 453 Notification: Performance of Generate backend data structure: time 0.006692/1.164, allocations: 3.027 MB / 1.347 GB, free: 5.051 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.164, allocations: 9.688 kB / 1.347 GB, free: 5.051 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004067/1.165, allocations: 273 kB / 1.347 GB, free: 4.883 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/1.166, allocations: 433.5 kB / 1.347 GB, free: 4.723 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003784/1.17, allocations: 2.089 MB / 1.349 GB, free: 3.344 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/1.17, allocations: 150 kB / 1.35 GB, free: 3.273 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002617/1.171, allocations: 188 kB / 1.35 GB, free: 3.211 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003286/1.174, allocations: 1.918 MB / 1.352 GB, free: 2.031 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.378e-05/1.174, allocations: 1.5 kB / 1.352 GB, free: 2.031 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/1.174, allocations: 76.47 kB / 1.352 GB, free: 1.973 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.033e-05/1.174, allocations: 45.31 kB / 1.352 GB, free: 1.973 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/1.177, allocations: 1.444 MB / 1.353 GB, free: 1.254 MB / 1.045 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.01096/1.188, allocations: 8.042 MB / 1.361 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/1.19, allocations: 1.05 MB / 1.362 GB, free: 9.809 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000688/1.191, allocations: 371.3 kB / 1.362 GB, free: 9.625 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008424/1.192, allocations: 1.152 MB / 1.364 GB, free: 8.273 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008778/1.193, allocations: 435.9 kB / 1.364 GB, free: 8.012 MB / 1.061 GB Notification: Performance of pre-optimization done (n=67): time 2.725e-06/1.193, allocations: 0 / 1.364 GB, free: 8.012 MB / 1.061 GB Notification: Performance of matching and sorting (n=67): time 0.002776/1.195, allocations: 1.125 MB / 1.365 GB, free: 7.465 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/1.195, allocations: 140.5 kB / 1.365 GB, free: 7.301 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Fluid/HeatPumps/ModularReversible/Modular.mo:62:3-64:76:writable] Warning: Parameter heaPum.TEvaCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Fluid/HeatPumps/ModularReversible/Modular.mo:59:3-61:76:writable] Warning: Parameter heaPum.TConCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002545/1.198, allocations: 1.782 MB / 1.367 GB, free: 6.305 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/1.198, allocations: 45.17 kB / 1.367 GB, free: 6.262 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009659/1.199, allocations: 1.102 MB / 1.368 GB, free: 5.289 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000255/1.199, allocations: 238 kB / 1.368 GB, free: 5.086 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003155/1.2, allocations: 220.2 kB / 1.369 GB, free: 4.957 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.2, allocations: 348 kB / 1.369 GB, free: 4.621 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000722/1.201, allocations: 359.3 kB / 1.369 GB, free: 4.445 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009985/1.202, allocations: 0.6929 MB / 1.37 GB, free: 3.848 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/1.203, allocations: 0.9999 MB / 1.371 GB, free: 3.121 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/1.203, allocations: 3.125 kB / 1.371 GB, free: 3.121 MB / 1.061 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00259/1.206, allocations: 1.253 MB / 1.372 GB, free: 2.488 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/1.206, allocations: 10.28 kB / 1.372 GB, free: 2.488 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/1.206, allocations: 8.281 kB / 1.372 GB, free: 2.488 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/1.206, allocations: 13.72 kB / 1.372 GB, free: 2.488 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000778/1.207, allocations: 225.8 kB / 1.372 GB, free: 2.434 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.183e-05/1.207, allocations: 16.94 kB / 1.372 GB, free: 2.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/1.208, allocations: 154.2 kB / 1.372 GB, free: 2.332 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.156e-05/1.208, allocations: 48.8 kB / 1.373 GB, free: 2.32 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.tabMea.nextTimeEvent,$whenCondition1,heaPum.conHea.y,tabMea.nextTimeEventScaled,$PRE.tabMea.nextTimeEventScaled,tabMea.nextTimeEvent,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y,heaPum.hys.y,$PRE.heaPum.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * 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.0009443/1.209, allocations: 0.5055 MB / 1.373 GB, free: 1.957 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/1.209, allocations: 192.2 kB / 1.373 GB, free: 1.855 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/1.212, allocations: 1.047 MB / 1.374 GB, free: 1.297 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-05/1.212, allocations: 11.89 kB / 1.374 GB, free: 1.293 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/1.212, allocations: 0 / 1.374 GB, free: 1.293 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001563/1.213, allocations: 0.8538 MB / 1.375 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005477/1.219, allocations: 2.853 MB / 1.378 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/1.219, allocations: 5.688 kB / 1.378 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006156/1.219, allocations: 140.5 kB / 1.378 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/1.219, allocations: 4.406 kB / 1.378 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-05/1.22, allocations: 27.17 kB / 1.378 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/1.22, allocations: 12.33 kB / 1.378 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.22, allocations: 1.906 kB / 1.378 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002829/1.222, allocations: 1.519 MB / 1.38 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008532/1.223, allocations: 374.8 kB / 1.38 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004607/1.224, allocations: 26.17 kB / 1.38 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.225, allocations: 60.28 kB / 1.38 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/1.225, allocations: 61.92 kB / 1.38 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-05/1.225, allocations: 34.12 kB / 1.38 GB, free: 13.52 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002055/1.227, allocations: 1.208 MB / 1.381 GB, free: 12.84 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.2e-07/1.227, allocations: 3.938 kB / 1.381 GB, free: 12.84 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002294/1.229, allocations: 0.6404 MB / 1.382 GB, free: 12.65 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum.refCycIneCon.criDam.x[1],heaPum.refCycIneCon.criDam.x[2],heaPum.refCycIneEva.criDam.x[1],heaPum.refCycIneEva.criDam.x[2]) * Number of discrete variables: 5 ($whenCondition1,heaPum.hys.y,heaPum.eff.hys.y,tabMea.nextTimeEvent,tabMea.nextTimeEventScaled) * Number of discrete states: 4 (tabMea.nextTimeEvent,tabMea.nextTimeEventScaled,heaPum.hys.y,heaPum.eff.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.00517/1.235, allocations: 2.858 MB / 1.385 GB, free: 10.94 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002057/1.237, allocations: 0.8889 MB / 1.386 GB, free: 10.54 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.237, allocations: 0 / 1.386 GB, free: 10.54 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008572/1.238, allocations: 419.9 kB / 1.386 GB, free: 10.36 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004322/1.242, allocations: 0.8769 MB / 1.387 GB, free: 9.895 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02298/1.265, allocations: 13.28 MB / 1.4 GB, free: 12.36 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/1.266, allocations: 1.505 MB / 1.401 GB, free: 10.82 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001485/1.268, allocations: 363.1 kB / 1.402 GB, free: 10.47 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/1.269, allocations: 0.9171 MB / 1.402 GB, free: 9.551 MB / 1.092 GB Notification: Performance of SimCode: time 9.92e-07/1.269, allocations: 0 / 1.402 GB, free: 9.551 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08999/1.359, allocations: 53.3 MB / 1.455 GB, free: 4.844 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/11.77, allocations: 17.44 kB / 1.455 GB, free: 4.836 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness_fmu --startTime=0 --stopTime=14365 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe 2>&1)