Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008047/0.0008048, allocations: 92 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.0008474/0.0008474, 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.322/1.322, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001838/0.001838, allocations: 266.5 kB / 291.3 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9484/0.9484, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003976, allocations: 18.53 kB / 0.598 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1317, allocations: 88.54 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05202/0.1838, allocations: 56.48 MB / 0.7396 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01416/0.198, allocations: 11.21 MB / 0.7506 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.1992, allocations: 51.62 kB / 0.7506 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.2005, allocations: 468.9 kB / 0.7511 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003508/0.204, allocations: 1.531 MB / 0.7526 GB, free: 9.555 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.2063, allocations: 0.865 MB / 0.7534 GB, free: 8.699 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003733/0.21, allocations: 3.398 MB / 0.7567 GB, free: 5.285 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.2112, allocations: 0.786 MB / 0.7575 GB, free: 4.477 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/0.213, allocations: 1.034 MB / 0.7585 GB, free: 3.438 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.214, allocations: 0.801 MB / 0.7593 GB, free: 2.633 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.2142, allocations: 48 kB / 0.7593 GB, free: 2.586 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.2164, allocations: 1.107 MB / 0.7604 GB, free: 1.477 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.2166, allocations: 199 kB / 0.7606 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002863/0.2169, allocations: 285.1 kB / 0.7609 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.271/0.4879, allocations: 1.636 MB / 0.7625 GB, free: 28.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4879, allocations: 0 / 0.7625 GB, free: 28.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4879, allocations: 1.062 kB / 0.7625 GB, free: 28.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.721e-05/0.488, allocations: 0 / 0.7625 GB, free: 28.2 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00263/0.4906, allocations: 1.497 MB / 0.7639 GB, free: 27.42 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.4907, allocations: 10.06 kB / 0.764 GB, free: 27.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002094/0.4928, allocations: 473.4 kB / 0.7644 GB, free: 27.35 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.4947, allocations: 1.087 MB / 0.7655 GB, free: 27.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003433/0.4951, allocations: 134 kB / 0.7656 GB, free: 27.01 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.4952, allocations: 80.09 kB / 0.7657 GB, free: 27.01 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/0.4973, allocations: 1.002 MB / 0.7666 GB, free: 26.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.4973, allocations: 4.234 kB / 0.7667 GB, free: 26.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.013e-05/0.4974, allocations: 34.19 kB / 0.7667 GB, free: 26.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.4974, allocations: 23.28 kB / 0.7667 GB, free: 26.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/0.4996, allocations: 0.9151 MB / 0.7676 GB, free: 26.81 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.005398/0.505, allocations: 4.901 MB / 0.7724 GB, free: 24.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003153/0.5082, allocations: 0.8967 MB / 0.7733 GB, free: 24.06 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006714/0.5089, allocations: 323.1 kB / 0.7736 GB, free: 24.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004187/0.5093, allocations: 0.9105 MB / 0.7745 GB, free: 23.01 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.5093, allocations: 38.3 kB / 0.7745 GB, free: 22.97 MB / 0.545 GB Notification: Performance of pre-optimization done (n=44): time 1.903e-06/0.5093, allocations: 0 / 0.7745 GB, free: 22.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=44): time 0.007634/0.517, allocations: 2.155 MB / 0.7766 GB, free: 22.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.517, allocations: 60.5 kB / 0.7767 GB, free: 22.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.5184, allocations: 1.046 MB / 0.7777 GB, free: 22.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.792e-05/0.5185, allocations: 36.55 kB / 0.7777 GB, free: 22.44 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000339/0.5188, allocations: 0.524 MB / 0.7782 GB, free: 22.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.5189, allocations: 151 kB / 0.7784 GB, free: 22.15 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.519, allocations: 13.19 kB / 0.7784 GB, free: 22.15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.519, allocations: 334 kB / 0.7787 GB, free: 21.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008145/0.5199, allocations: 317.9 kB / 0.779 GB, free: 21.83 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008871/0.5208, allocations: 0.5299 MB / 0.7795 GB, free: 21.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008137/0.5216, allocations: 359.1 kB / 0.7799 GB, free: 21.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5216, allocations: 5.047 kB / 0.7799 GB, free: 21.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002352/0.524, allocations: 1.042 MB / 0.7809 GB, free: 21.44 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-05/0.524, allocations: 207 kB / 0.7811 GB, free: 21.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.524, allocations: 2.375 kB / 0.7811 GB, free: 21.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.5252, allocations: 326.6 kB / 0.7814 GB, free: 21.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005048/0.5257, allocations: 130.1 kB / 0.7815 GB, free: 21.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.5269, allocations: 0.9437 MB / 0.7824 GB, free: 20.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.5282, allocations: 193.2 kB / 0.7826 GB, free: 20.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/0.5282, allocations: 27.81 kB / 0.7827 GB, free: 20.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.031e-06/0.5283, allocations: 3.5 kB / 0.7827 GB, free: 20.6 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002153/0.5304, allocations: 0.9136 MB / 0.7835 GB, free: 20.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5304, allocations: 2.781 kB / 0.7836 GB, free: 20.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009715/0.5314, allocations: 331.8 kB / 0.7839 GB, free: 20.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.5319, allocations: 125.2 kB / 0.784 GB, free: 20.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.5331, allocations: 0.9408 MB / 0.7849 GB, free: 19.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.5341, allocations: 176.3 kB / 0.7851 GB, free: 19.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.5342, allocations: 25.12 kB / 0.7851 GB, free: 19.95 MB / 0.545 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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.0004031/0.5346, allocations: 353.4 kB / 0.7854 GB, free: 19.76 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.5347, allocations: 116.9 kB / 0.7855 GB, free: 19.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003383/0.5381, allocations: 1.205 MB / 0.7867 GB, free: 19.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.5382, allocations: 9.719 kB / 0.7867 GB, free: 19.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5382, allocations: 2.516 kB / 0.7867 GB, free: 19.58 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.5382, allocations: 3.516 kB / 0.7867 GB, free: 19.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004887/0.5431, allocations: 2.296 MB / 0.789 GB, free: 19.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.5431, allocations: 4.156 kB / 0.789 GB, free: 19.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.5434, allocations: 70.12 kB / 0.7891 GB, free: 19.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009551/0.5443, allocations: 327.4 kB / 0.7894 GB, free: 19.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.5444, allocations: 17.83 kB / 0.7894 GB, free: 19.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.5456, allocations: 0.9652 MB / 0.7903 GB, free: 18.56 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.5456, allocations: 6.031 kB / 0.7903 GB, free: 18.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003203/0.5488, allocations: 1.281 MB / 0.7916 GB, free: 18.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004101/0.5493, allocations: 286.5 kB / 0.7919 GB, free: 18.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.5494, allocations: 19.7 kB / 0.7919 GB, free: 18.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008432/0.5503, allocations: 111.2 kB / 0.792 GB, free: 18.06 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.5503, allocations: 37.03 kB / 0.792 GB, free: 18.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-05/0.5504, allocations: 21.33 kB / 0.792 GB, free: 18.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001046/0.5515, allocations: 0.7364 MB / 0.7928 GB, free: 17.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5515, allocations: 0 / 0.7928 GB, free: 17.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00152/0.553, allocations: 0.5596 MB / 0.7933 GB, free: 17.87 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.0006554/0.5537, allocations: 383.5 kB / 0.7937 GB, free: 17.72 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002838/0.5565, allocations: 1.166 MB / 0.7948 GB, free: 17.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5565, allocations: 1.312 kB / 0.7948 GB, free: 17.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008186/0.5574, allocations: 372.2 kB / 0.7952 GB, free: 17.67 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/0.5596, allocations: 0.5092 MB / 0.7957 GB, free: 17.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0047/0.5643, allocations: 2.495 MB / 0.7981 GB, free: 16.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.5648, allocations: 1.059 MB / 0.7991 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009632/0.5658, allocations: 223.4 kB / 0.7993 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.5659, allocations: 76.5 kB / 0.7994 GB, free: 15.74 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.5659, allocations: 0 / 0.7994 GB, free: 15.74 MB / 0.545 GB Notification: Performance of Templates: time 0.03012/0.5961, allocations: 23.21 MB / 0.8221 GB, free: 4.137 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)