Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.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.HeatPumps.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y",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.00114/0.00114, allocations: 100.8 kB / 16.27 MB, free: 5.93 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.001328/0.001328, allocations: 189.6 kB / 17.2 MB, free: 5.574 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.267/1.267, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7098/0.7098, allocations: 122.9 MB / 413.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.89 kB / 0.4912 GB, free: 7.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3127, allocations: 77.91 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.05885/0.3716, allocations: 75.16 MB / 0.6407 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01793/0.3895, allocations: 15.17 MB / 0.6555 GB, free: 304 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002323/0.3919, allocations: 67.62 kB / 0.6555 GB, free: 236 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.394, allocations: 0.8268 MB / 0.6563 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005953/0.4, allocations: 2.586 MB / 0.6589 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003079/0.403, allocations: 1.391 MB / 0.6602 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004693/0.4077, allocations: 4.391 MB / 0.6645 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002182/0.4099, allocations: 1.451 MB / 0.6659 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003998/0.4139, allocations: 1.627 MB / 0.6675 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.4163, allocations: 1.206 MB / 0.6687 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005806/0.4169, allocations: 160 kB / 0.6689 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003618/0.4206, allocations: 1.4 MB / 0.6702 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005774/0.4211, allocations: 406.6 kB / 0.6706 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.4227, allocations: 0.8983 MB / 0.6715 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00505/0.4277, allocations: 2.84 MB / 0.6743 GB, free: 13 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4277, allocations: 7.938 kB / 0.6743 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4278, allocations: 0 / 0.6743 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.365e-05/0.4278, allocations: 0 / 0.6743 GB, free: 12.99 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004481/0.4323, allocations: 2.079 MB / 0.6763 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.4324, allocations: 8.625 kB / 0.6763 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001954/0.4326, allocations: 152.1 kB / 0.6765 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000855/0.4334, allocations: 226.8 kB / 0.6767 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/0.4358, allocations: 1.446 MB / 0.6781 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.22e-05/0.4358, allocations: 74 kB / 0.6782 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.436, allocations: 108 kB / 0.6783 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.4379, allocations: 1.104 MB / 0.6793 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.4379, allocations: 0 / 0.6793 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.253e-05/0.438, allocations: 36 kB / 0.6794 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.438, allocations: 31.94 kB / 0.6794 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.4399, allocations: 0.89 MB / 0.6803 GB, free: 6.68 MB / 0.5137 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.00543/0.4453, allocations: 4.944 MB / 0.6851 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.4466, allocations: 0.6236 MB / 0.6857 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006719/0.4473, allocations: 354.3 kB / 0.686 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005875/0.4479, allocations: 0.8277 MB / 0.6869 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.448, allocations: 39.12 kB / 0.6869 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.104e-06/0.448, allocations: 0 / 0.6869 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006965/0.4549, allocations: 1.701 MB / 0.6885 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.455, allocations: 55.97 kB / 0.6886 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.4564, allocations: 1.23 MB / 0.6898 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/0.4565, allocations: 37.7 kB / 0.6898 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004584/0.457, allocations: 0.6144 MB / 0.6904 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.4572, allocations: 212.9 kB / 0.6906 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.4574, allocations: 154.6 kB / 0.6908 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4575, allocations: 337.9 kB / 0.6911 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006375/0.4581, allocations: 288.7 kB / 0.6914 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007773/0.4589, allocations: 0.4928 MB / 0.6919 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.4603, allocations: 0.7051 MB / 0.6926 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.4603, allocations: 0 / 0.6926 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004584/0.4649, allocations: 1.277 MB / 0.6938 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4649, allocations: 8 kB / 0.6938 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4649, allocations: 4 kB / 0.6938 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005278/0.4655, allocations: 137.7 kB / 0.6939 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005598/0.466, allocations: 167.7 kB / 0.6941 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007949/0.4668, allocations: 0.6974 MB / 0.6948 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008854/0.4677, allocations: 128.8 kB / 0.6949 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.983e-05/0.4678, allocations: 35.98 kB / 0.6949 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009461/0.4688, allocations: 0.5488 MB / 0.6955 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007545/0.4695, allocations: 0.4898 MB / 0.696 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001309/0.4708, allocations: 0.6973 MB / 0.6966 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.488e-06/0.4709, allocations: 4 kB / 0.6966 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004574/0.4754, allocations: 1.269 MB / 0.6979 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.4755, allocations: 8 kB / 0.6979 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4755, allocations: 4 kB / 0.6979 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004806/0.476, allocations: 143.6 kB / 0.698 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005517/0.4765, allocations: 159.8 kB / 0.6982 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007575/0.4773, allocations: 0.6967 MB / 0.6989 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000912/0.4782, allocations: 111.5 kB / 0.699 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/0.4783, allocations: 27.98 kB / 0.699 GB, free: 2.578 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001901/0.4785, allocations: 232.1 kB / 0.6992 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.4787, allocations: 130.4 kB / 0.6993 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004499/0.4832, allocations: 1.267 MB / 0.7006 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.4832, allocations: 8 kB / 0.7006 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4832, allocations: 0 / 0.7006 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00408/0.4873, allocations: 1.103 MB / 0.7017 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006206/0.4935, allocations: 2.618 MB / 0.7042 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.4936, allocations: 4 kB / 0.7042 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004404/0.494, allocations: 107.9 kB / 0.7043 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004373/0.4945, allocations: 137 kB / 0.7045 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.182e-05/0.4945, allocations: 24 kB / 0.7045 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004808/0.4993, allocations: 2.628 MB / 0.707 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.4993, allocations: 8.156 kB / 0.7071 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005103/0.5045, allocations: 1.703 MB / 0.7087 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/0.5049, allocations: 303.2 kB / 0.709 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.5051, allocations: 23.98 kB / 0.709 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000745/0.5059, allocations: 51.88 kB / 0.7091 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.506, allocations: 64.31 kB / 0.7091 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.874e-05/0.506, allocations: 35.97 kB / 0.7092 GB, free: 7.734 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0011/0.5072, allocations: 0.8819 MB / 0.71 GB, free: 6.852 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5072, allocations: 3.938 kB / 0.71 GB, free: 6.848 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001663/0.5088, allocations: 0.7135 MB / 0.7107 GB, free: 6.133 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005957/0.5148, allocations: 2.6 MB / 0.7133 GB, free: 3.469 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002598/0.5174, allocations: 1.152 MB / 0.7144 GB, free: 2.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.5174, allocations: 0 / 0.7144 GB, free: 2.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.5188, allocations: 0.5683 MB / 0.715 GB, free: 1.738 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/0.5221, allocations: 0.8048 MB / 0.7157 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01845/0.5406, allocations: 10.48 MB / 0.726 GB, free: 6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007665/0.5413, allocations: 1.183 MB / 0.7271 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001155/0.5425, allocations: 311 kB / 0.7274 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006408/0.5432, allocations: 0.511 MB / 0.7279 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.5432, allocations: 0 / 0.7279 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2695/0.8127, allocations: 42.28 MB / 0.7692 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.78, allocations: 7.953 kB / 0.7692 GB, free: 155.5 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)