Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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: translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007912/0.0007913, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008463/0.0008462, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001764/0.001764, allocations: 282.4 kB / 291.4 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9554/0.9554, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004118, allocations: 17.44 kB / 0.598 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1331, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05175/0.1848, allocations: 56.52 MB / 0.7397 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01414/0.199, allocations: 11.22 MB / 0.7506 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.2002, allocations: 55.62 kB / 0.7507 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.2014, allocations: 464.9 kB / 0.7511 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003363/0.2048, allocations: 1.536 MB / 0.7526 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.2069, allocations: 0.8685 MB / 0.7535 GB, free: 8.668 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003464/0.2104, allocations: 3.409 MB / 0.7568 GB, free: 5.246 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.2115, allocations: 0.8105 MB / 0.7576 GB, free: 4.414 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/0.2132, allocations: 1.038 MB / 0.7586 GB, free: 3.371 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.2143, allocations: 0.8087 MB / 0.7594 GB, free: 2.559 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.2144, allocations: 44 kB / 0.7594 GB, free: 2.516 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002018/0.2164, allocations: 1.091 MB / 0.7605 GB, free: 1.422 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.2166, allocations: 207 kB / 0.7607 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002751/0.2169, allocations: 285 kB / 0.761 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.2681/0.485, allocations: 1.632 MB / 0.7626 GB, free: 28.63 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.485, allocations: 1.125 kB / 0.7626 GB, free: 28.63 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.214e-06/0.485, allocations: 0.625 kB / 0.7626 GB, free: 28.63 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.386e-05/0.4851, allocations: 0 / 0.7626 GB, free: 28.63 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002854/0.488, allocations: 1.523 MB / 0.7641 GB, free: 27.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.488, allocations: 9.75 kB / 0.7641 GB, free: 27.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.4901, allocations: 474.9 kB / 0.7645 GB, free: 27.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/0.4923, allocations: 1.09 MB / 0.7656 GB, free: 27.44 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003492/0.4926, allocations: 137.8 kB / 0.7657 GB, free: 27.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.4928, allocations: 80.47 kB / 0.7658 GB, free: 27.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.4949, allocations: 1.022 MB / 0.7668 GB, free: 27.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.4949, allocations: 8.625 kB / 0.7668 GB, free: 27.26 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.318e-05/0.495, allocations: 29.91 kB / 0.7668 GB, free: 27.26 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.495, allocations: 19.78 kB / 0.7668 GB, free: 27.26 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002394/0.4974, allocations: 0.9532 MB / 0.7678 GB, free: 27.23 MB / 0.545 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.005867/0.5033, allocations: 4.907 MB / 0.7726 GB, free: 24.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003395/0.5067, allocations: 0.9114 MB / 0.7735 GB, free: 24.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007423/0.5075, allocations: 341.8 kB / 0.7738 GB, free: 24.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004257/0.5079, allocations: 0.8994 MB / 0.7747 GB, free: 23.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.5079, allocations: 39.06 kB / 0.7747 GB, free: 23.39 MB / 0.545 GB Notification: Performance of pre-optimization done (n=44): time 2.104e-06/0.5079, allocations: 0 / 0.7747 GB, free: 23.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=44): time 0.008159/0.5161, allocations: 2.208 MB / 0.7769 GB, free: 23.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.5161, allocations: 57.11 kB / 0.7769 GB, free: 23.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.5176, allocations: 1.053 MB / 0.7779 GB, free: 22.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.521e-05/0.5177, allocations: 34.33 kB / 0.778 GB, free: 22.85 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/0.518, allocations: 0.535 MB / 0.7785 GB, free: 22.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.5182, allocations: 157 kB / 0.7786 GB, free: 22.56 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.5182, allocations: 6.625 kB / 0.7786 GB, free: 22.56 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.454e-05/0.5183, allocations: 331.1 kB / 0.779 GB, free: 22.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009056/0.5192, allocations: 342.1 kB / 0.7793 GB, free: 22.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009976/0.5202, allocations: 0.5544 MB / 0.7798 GB, free: 21.99 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009121/0.5211, allocations: 383.2 kB / 0.7802 GB, free: 21.97 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.5211, allocations: 1.031 kB / 0.7802 GB, free: 21.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002572/0.5237, allocations: 1.079 MB / 0.7813 GB, free: 21.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.713e-05/0.5238, allocations: 216 kB / 0.7815 GB, free: 21.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.5238, allocations: 6.219 kB / 0.7815 GB, free: 21.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.525, allocations: 328.7 kB / 0.7818 GB, free: 21.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.5256, allocations: 137.5 kB / 0.7819 GB, free: 21.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.5269, allocations: 0.9426 MB / 0.7828 GB, free: 21.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.5282, allocations: 206.4 kB / 0.783 GB, free: 20.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.299e-05/0.5283, allocations: 25.73 kB / 0.783 GB, free: 20.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.5283, allocations: 10.47 kB / 0.7831 GB, free: 20.98 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002323/0.5306, allocations: 0.9484 MB / 0.784 GB, free: 20.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.5307, allocations: 5.844 kB / 0.784 GB, free: 20.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.5317, allocations: 324.8 kB / 0.7843 GB, free: 20.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000564/0.5323, allocations: 134.3 kB / 0.7844 GB, free: 20.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.5335, allocations: 0.9429 MB / 0.7854 GB, free: 20.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.5346, allocations: 169.8 kB / 0.7855 GB, free: 20.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.595e-05/0.5347, allocations: 30.25 kB / 0.7855 GB, free: 20.34 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004329/0.5352, allocations: 359.9 kB / 0.7859 GB, free: 20.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.5353, allocations: 113.7 kB / 0.786 GB, free: 20.08 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003748/0.5391, allocations: 1.24 MB / 0.7872 GB, free: 19.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.5391, allocations: 7.688 kB / 0.7872 GB, free: 19.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5391, allocations: 2.406 kB / 0.7872 GB, free: 19.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.5391, allocations: 3.625 kB / 0.7872 GB, free: 19.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005316/0.5445, allocations: 2.33 MB / 0.7895 GB, free: 19.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.5445, allocations: 3.25 kB / 0.7895 GB, free: 19.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.5448, allocations: 80.58 kB / 0.7896 GB, free: 19.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009749/0.5458, allocations: 327.9 kB / 0.7899 GB, free: 19.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.5459, allocations: 15.25 kB / 0.7899 GB, free: 19.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.5472, allocations: 0.9658 MB / 0.7908 GB, free: 18.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.5472, allocations: 2.375 kB / 0.7908 GB, free: 18.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003539/0.5507, allocations: 1.317 MB / 0.7921 GB, free: 18.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004656/0.5512, allocations: 284.5 kB / 0.7924 GB, free: 18.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.5514, allocations: 16.58 kB / 0.7924 GB, free: 18.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009985/0.5524, allocations: 119 kB / 0.7925 GB, free: 18.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.205e-05/0.5525, allocations: 40.69 kB / 0.7926 GB, free: 18.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.322e-05/0.5526, allocations: 22.33 kB / 0.7926 GB, free: 18.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001127/0.5537, allocations: 0.7413 MB / 0.7933 GB, free: 18.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5537, allocations: 0 / 0.7933 GB, free: 18.33 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001671/0.5554, allocations: 0.5605 MB / 0.7939 GB, free: 18.25 MB / 0.545 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 (34): * Single equations (assignments): 29 * 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 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007595/0.5562, allocations: 379.9 kB / 0.7942 GB, free: 18.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003154/0.5593, allocations: 1.222 MB / 0.7954 GB, free: 18.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5594, allocations: 1.656 kB / 0.7954 GB, free: 18.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009568/0.5603, allocations: 396.2 kB / 0.7958 GB, free: 18.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/0.5627, allocations: 0.5092 MB / 0.7963 GB, free: 18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004955/0.5676, allocations: 2.506 MB / 0.7987 GB, free: 16.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.5681, allocations: 1.063 MB / 0.7998 GB, free: 16.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000961/0.5691, allocations: 225 kB / 0.8 GB, free: 16.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.5693, allocations: 77.45 kB / 0.8001 GB, free: 16.11 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.5693, allocations: 0 / 0.8001 GB, free: 16.11 MB / 0.545 GB Notification: Performance of Templates: time 0.03224/0.6015, allocations: 23.24 MB / 0.8228 GB, free: 4.051 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)