Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 108.2 kB / 16.41 MB, free: 6.457 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.001655/0.001655, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8487/0.8487, allocations: 143.1 MB / 434.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 64.98 kB / 0.5962 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.128, allocations: 82.04 MB / 0.6763 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.3674/0.4954, allocations: 75.17 MB / 0.7497 GB, free: 27.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01721/0.5126, allocations: 15.17 MB / 0.7645 GB, free: 27.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002195/0.5149, allocations: 66.78 kB / 0.7646 GB, free: 27.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.5168, allocations: 0.8547 MB / 0.7654 GB, free: 27.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006774/0.5236, allocations: 2.719 MB / 0.7681 GB, free: 26.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003581/0.5272, allocations: 1.398 MB / 0.7695 GB, free: 26.95 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005671/0.5329, allocations: 4.408 MB / 0.7738 GB, free: 26.05 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.5348, allocations: 1.447 MB / 0.7752 GB, free: 25.37 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003293/0.5381, allocations: 1.683 MB / 0.7768 GB, free: 24.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.5397, allocations: 1.217 MB / 0.778 GB, free: 24.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002287/0.5399, allocations: 161.7 kB / 0.7782 GB, free: 24.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002959/0.5429, allocations: 1.407 MB / 0.7795 GB, free: 23.72 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003146/0.5432, allocations: 398 kB / 0.7799 GB, free: 23.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008121/0.544, allocations: 0.9 MB / 0.7808 GB, free: 22.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003381/0.5474, allocations: 3.024 MB / 0.7837 GB, free: 21.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5474, allocations: 1.125 kB / 0.7837 GB, free: 21.95 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5474, allocations: 0 / 0.7837 GB, free: 21.95 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.759e-05/0.5475, allocations: 0 / 0.7837 GB, free: 21.95 MB / 0.5762 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.003443/0.5509, allocations: 2.086 MB / 0.7858 GB, free: 20.59 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.551, allocations: 9.469 kB / 0.7858 GB, free: 20.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008298/0.5518, allocations: 223.1 kB / 0.786 GB, free: 20.51 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.5539, allocations: 1.534 MB / 0.7875 GB, free: 19.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.384e-05/0.554, allocations: 80.95 kB / 0.7876 GB, free: 19.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.5542, allocations: 106.1 kB / 0.7877 GB, free: 19.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.5561, allocations: 1.097 MB / 0.7888 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.5561, allocations: 1.531 kB / 0.7888 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.838e-05/0.5562, allocations: 41.84 kB / 0.7888 GB, free: 19.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.408e-05/0.5562, allocations: 26.69 kB / 0.7888 GB, free: 19.04 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.5581, allocations: 0.8941 MB / 0.7897 GB, free: 18.72 MB / 0.5762 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.004607/0.5627, allocations: 4.917 MB / 0.7945 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.564, allocations: 0.6136 MB / 0.7951 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006645/0.5647, allocations: 353.6 kB / 0.7954 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004136/0.5651, allocations: 0.8308 MB / 0.7962 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.5652, allocations: 42.23 kB / 0.7963 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.264e-06/0.5652, allocations: 0 / 0.7963 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007066/0.5723, allocations: 1.687 MB / 0.7979 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.5723, allocations: 61.02 kB / 0.798 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.5736, allocations: 1.229 MB / 0.7992 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.35e-05/0.5737, allocations: 47.11 kB / 0.7992 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000355/0.574, allocations: 0.6052 MB / 0.7998 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.5742, allocations: 211.7 kB / 0.8 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.5744, allocations: 155.9 kB / 0.8002 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.694e-05/0.5745, allocations: 334.3 kB / 0.8005 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006225/0.5751, allocations: 290.9 kB / 0.8008 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007462/0.5758, allocations: 0.4901 MB / 0.8012 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.5771, allocations: 0.7075 MB / 0.8019 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5771, allocations: 3.906 kB / 0.8019 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004536/0.5817, allocations: 1.278 MB / 0.8032 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.5817, allocations: 11.42 kB / 0.8032 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5817, allocations: 4.531 kB / 0.8032 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005433/0.5823, allocations: 130.8 kB / 0.8033 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006016/0.5829, allocations: 161.7 kB / 0.8035 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000708/0.5836, allocations: 0.7107 MB / 0.8042 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.5847, allocations: 115.8 kB / 0.8043 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-05/0.5848, allocations: 33.05 kB / 0.8043 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009738/0.5858, allocations: 0.5505 MB / 0.8049 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007113/0.5865, allocations: 0.4922 MB / 0.8053 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00126/0.5878, allocations: 0.7082 MB / 0.806 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.925e-06/0.5878, allocations: 0 / 0.806 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004596/0.5924, allocations: 1.269 MB / 0.8073 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.5924, allocations: 4.812 kB / 0.8073 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.5924, allocations: 4.812 kB / 0.8073 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004685/0.5929, allocations: 132.1 kB / 0.8074 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.5935, allocations: 155.7 kB / 0.8076 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006433/0.5941, allocations: 0.7063 MB / 0.8082 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.5953, allocations: 107.8 kB / 0.8083 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/0.5954, allocations: 31.44 kB / 0.8084 GB, free: 5.289 MB / 0.5762 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.0001947/0.5956, allocations: 227.3 kB / 0.8086 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.5958, allocations: 139.6 kB / 0.8087 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004429/0.6002, allocations: 1.266 MB / 0.81 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003929/0.6042, allocations: 1.103 MB / 0.811 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.6042, allocations: 0 / 0.811 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006342/0.6048, allocations: 303.2 kB / 0.8113 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/0.605, allocations: 12 kB / 0.8113 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007539/0.6058, allocations: 51.88 kB / 0.8114 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.6059, allocations: 52.48 kB / 0.8114 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002433/0.6083, allocations: 0.9612 MB / 0.8124 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002078/0.6104, allocations: 1.338 MB / 0.8137 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005681/0.611, allocations: 324.3 kB / 0.814 GB, free: 16 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001315/0.6123, allocations: 0.8616 MB / 0.8148 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of Backend: time 8.21e-07/0.6124, allocations: 0 / 0.8148 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00387/0.6162, allocations: 1.387 MB / 0.8162 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of SimCode: time 0.005545/0.6218, allocations: 3.148 MB / 0.8193 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of Templates: time 0.05109/0.6729, allocations: 33.97 MB / 0.8524 GB, free: 9.066 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)