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.00108/0.00108, allocations: 113.5 kB / 16.42 MB, free: 6.469 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.001051/0.001051, allocations: 187.9 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.307/1.307, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.8466/0.8466, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 57.06 kB / 0.5962 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1369, allocations: 82.04 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.3762/0.5131, allocations: 75.18 MB / 0.7497 GB, free: 27.3 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01818/0.5313, allocations: 15.17 MB / 0.7645 GB, free: 27.14 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003147/0.5345, allocations: 64.97 kB / 0.7646 GB, free: 27.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002504/0.537, allocations: 0.8561 MB / 0.7654 GB, free: 27.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007758/0.5448, allocations: 2.724 MB / 0.7681 GB, free: 27.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003814/0.5486, allocations: 1.394 MB / 0.7694 GB, free: 27 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006457/0.5551, allocations: 4.413 MB / 0.7738 GB, free: 26.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00258/0.5577, allocations: 1.445 MB / 0.7752 GB, free: 25.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003978/0.5617, allocations: 1.682 MB / 0.7768 GB, free: 24.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002531/0.5643, allocations: 1.224 MB / 0.778 GB, free: 24.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005289/0.5648, allocations: 163.1 kB / 0.7782 GB, free: 24.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004055/0.5689, allocations: 1.403 MB / 0.7795 GB, free: 23.76 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005793/0.5695, allocations: 396.2 kB / 0.7799 GB, free: 23.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.5713, allocations: 0.903 MB / 0.7808 GB, free: 22.96 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005052/0.5763, allocations: 3.022 MB / 0.7837 GB, free: 21.99 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5764, allocations: 0 / 0.7837 GB, free: 21.99 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5764, allocations: 0 / 0.7837 GB, free: 21.99 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.384e-05/0.5765, allocations: 0 / 0.7837 GB, free: 21.99 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.005017/0.5815, allocations: 2.089 MB / 0.7858 GB, free: 20.63 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.5815, allocations: 9.406 kB / 0.7858 GB, free: 20.63 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.5827, allocations: 229.5 kB / 0.786 GB, free: 20.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002846/0.5856, allocations: 1.528 MB / 0.7875 GB, free: 19.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.809e-05/0.5856, allocations: 76.53 kB / 0.7876 GB, free: 19.63 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.5858, allocations: 105.7 kB / 0.7877 GB, free: 19.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.588, allocations: 1.1 MB / 0.7888 GB, free: 19.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.588, allocations: 0 / 0.7888 GB, free: 19.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.173e-05/0.5881, allocations: 40.12 kB / 0.7888 GB, free: 19.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/0.5882, allocations: 28.28 kB / 0.7888 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.5902, allocations: 0.892 MB / 0.7897 GB, free: 18.77 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.006694/0.5969, allocations: 4.913 MB / 0.7945 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.5984, allocations: 0.6225 MB / 0.7951 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007253/0.5991, allocations: 350.9 kB / 0.7954 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005261/0.5996, allocations: 0.8377 MB / 0.7962 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.5997, allocations: 38.56 kB / 0.7963 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.036e-06/0.5997, allocations: 0 / 0.7963 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007188/0.6069, allocations: 1.687 MB / 0.7979 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.713e-05/0.6069, allocations: 61.59 kB / 0.798 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.6086, allocations: 1.231 MB / 0.7992 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.6088, allocations: 41.67 kB / 0.7992 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004026/0.6092, allocations: 0.6035 MB / 0.7998 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.6094, allocations: 213.5 kB / 0.8 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.6096, allocations: 155.6 kB / 0.8002 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.815e-05/0.6096, allocations: 331.5 kB / 0.8005 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006154/0.6103, allocations: 291.7 kB / 0.8008 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007347/0.611, allocations: 0.494 MB / 0.8013 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.6123, allocations: 0.7016 MB / 0.8019 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.6123, allocations: 7.875 kB / 0.8019 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004613/0.6169, allocations: 1.285 MB / 0.8032 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.617, allocations: 4.906 kB / 0.8032 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.617, allocations: 7.516 kB / 0.8032 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005545/0.6175, allocations: 133.9 kB / 0.8033 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/0.6181, allocations: 166.4 kB / 0.8035 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007293/0.6189, allocations: 0.7022 MB / 0.8042 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.6201, allocations: 116.9 kB / 0.8043 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.89e-05/0.6202, allocations: 36.23 kB / 0.8043 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001021/0.6213, allocations: 0.5538 MB / 0.8049 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007223/0.622, allocations: 499.1 kB / 0.8053 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001247/0.6232, allocations: 0.7024 MB / 0.806 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.136e-06/0.6233, allocations: 0 / 0.806 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00458/0.6278, allocations: 1.272 MB / 0.8073 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.6279, allocations: 6.625 kB / 0.8073 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.6279, allocations: 3.906 kB / 0.8073 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004661/0.6284, allocations: 136.9 kB / 0.8074 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006005/0.629, allocations: 158.6 kB / 0.8076 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006666/0.6296, allocations: 0.7026 MB / 0.8083 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.6309, allocations: 101.1 kB / 0.8083 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.201e-05/0.631, allocations: 34.52 kB / 0.8084 GB, free: 5.312 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.0002222/0.6313, allocations: 217.8 kB / 0.8086 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003755/0.6316, allocations: 138.5 kB / 0.8087 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004437/0.6361, allocations: 1.271 MB / 0.81 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00379/0.6399, allocations: 1.103 MB / 0.811 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.6399, allocations: 0 / 0.811 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007378/0.6407, allocations: 295.2 kB / 0.8113 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004208/0.6411, allocations: 16 kB / 0.8113 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009535/0.6421, allocations: 63.81 kB / 0.8114 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.6422, allocations: 44.48 kB / 0.8114 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002386/0.6446, allocations: 0.9727 MB / 0.8124 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002184/0.6468, allocations: 1.331 MB / 0.8137 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000555/0.6473, allocations: 328.2 kB / 0.814 GB, free: 44 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001349/0.6487, allocations: 0.864 MB / 0.8148 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of Backend: time 6.41e-07/0.6487, allocations: 0 / 0.8148 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004274/0.653, allocations: 1.375 MB / 0.8162 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of SimCode: time 0.006227/0.6592, allocations: 3.16 MB / 0.8193 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of Templates: time 0.05342/0.7127, allocations: 33.97 MB / 0.8524 GB, free: 9.098 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)