Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.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.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 114.6 kB / 16.42 MB, free: 6.473 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.001217/0.001217, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 14.97 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.8469/0.8469, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.67 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1406, allocations: 82.03 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.3684/0.5091, allocations: 75.15 MB / 0.7497 GB, free: 27.29 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.015/0.5241, allocations: 12.76 MB / 0.7621 GB, free: 27.12 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/0.5261, allocations: 65.41 kB / 0.7622 GB, free: 27.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.5279, allocations: 0.8563 MB / 0.763 GB, free: 27.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006002/0.534, allocations: 2.591 MB / 0.7656 GB, free: 27.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003356/0.5373, allocations: 1.399 MB / 0.7669 GB, free: 26.99 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005813/0.5432, allocations: 4.4 MB / 0.7712 GB, free: 26.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00193/0.5451, allocations: 1.437 MB / 0.7726 GB, free: 25.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003238/0.5484, allocations: 1.665 MB / 0.7743 GB, free: 25.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.5499, allocations: 1.195 MB / 0.7754 GB, free: 24.76 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002305/0.5501, allocations: 162.3 kB / 0.7756 GB, free: 24.76 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003025/0.5531, allocations: 1.411 MB / 0.777 GB, free: 24.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000313/0.5535, allocations: 396.8 kB / 0.7773 GB, free: 24.08 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008288/0.5543, allocations: 0.9034 MB / 0.7782 GB, free: 23.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00349/0.5578, allocations: 3.018 MB / 0.7812 GB, free: 22.55 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5578, allocations: 0 / 0.7812 GB, free: 22.55 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5578, allocations: 1.188 kB / 0.7812 GB, free: 22.55 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.296e-05/0.5578, allocations: 0 / 0.7812 GB, free: 22.55 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.003268/0.5611, allocations: 2.08 MB / 0.7832 GB, free: 21.2 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.5612, allocations: 8.844 kB / 0.7832 GB, free: 21.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007947/0.562, allocations: 234.8 kB / 0.7834 GB, free: 21.11 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.5641, allocations: 1.527 MB / 0.7849 GB, free: 20.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.338e-05/0.5642, allocations: 84 kB / 0.785 GB, free: 20.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.5643, allocations: 101.6 kB / 0.7851 GB, free: 20.15 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.5661, allocations: 1.103 MB / 0.7862 GB, free: 19.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.5662, allocations: 0 / 0.7862 GB, free: 19.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.443e-05/0.5663, allocations: 37.62 kB / 0.7862 GB, free: 19.63 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.5663, allocations: 31 kB / 0.7862 GB, free: 19.63 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.5681, allocations: 0.8819 MB / 0.7871 GB, free: 19.32 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.004708/0.5728, allocations: 4.915 MB / 0.7919 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.574, allocations: 0.6192 MB / 0.7925 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006355/0.5747, allocations: 355.9 kB / 0.7928 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003968/0.5751, allocations: 0.826 MB / 0.7937 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.5751, allocations: 41.88 kB / 0.7937 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.214e-06/0.5751, allocations: 0 / 0.7937 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007015/0.5821, allocations: 1.679 MB / 0.7953 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.644e-05/0.5822, allocations: 57.25 kB / 0.7954 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.5835, allocations: 1.228 MB / 0.7966 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.767e-05/0.5835, allocations: 38.7 kB / 0.7966 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003451/0.5839, allocations: 0.6121 MB / 0.7972 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.584, allocations: 210 kB / 0.7974 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.5842, allocations: 157.3 kB / 0.7976 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.888e-05/0.5843, allocations: 335.4 kB / 0.7979 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006059/0.5849, allocations: 291.5 kB / 0.7982 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007018/0.5856, allocations: 491.5 kB / 0.7986 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.5868, allocations: 0.7088 MB / 0.7993 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5869, allocations: 2.906 kB / 0.7993 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004482/0.5913, allocations: 1.278 MB / 0.8006 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.5914, allocations: 7.75 kB / 0.8006 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5914, allocations: 2.5 kB / 0.8006 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000537/0.5919, allocations: 133 kB / 0.8007 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/0.5925, allocations: 159.4 kB / 0.8009 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006751/0.5932, allocations: 0.7043 MB / 0.8016 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000994/0.5942, allocations: 118.2 kB / 0.8017 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-05/0.5943, allocations: 37.02 kB / 0.8017 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009712/0.5953, allocations: 0.5519 MB / 0.8022 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008087/0.5961, allocations: 498.4 kB / 0.8027 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001335/0.5974, allocations: 0.706 MB / 0.8034 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.597e-06/0.5974, allocations: 0 / 0.8034 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004773/0.6022, allocations: 1.261 MB / 0.8046 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.6023, allocations: 11.94 kB / 0.8047 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.6023, allocations: 3 kB / 0.8047 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004823/0.6028, allocations: 133.4 kB / 0.8048 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005878/0.6034, allocations: 157.2 kB / 0.8049 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006493/0.604, allocations: 0.6989 MB / 0.8056 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.6052, allocations: 100.2 kB / 0.8057 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/0.6052, allocations: 33.52 kB / 0.8057 GB, free: 6.207 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002054/0.6054, allocations: 222.1 kB / 0.806 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.6057, allocations: 134.2 kB / 0.8061 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00457/0.6102, allocations: 1.275 MB / 0.8073 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004071/0.6143, allocations: 1.095 MB / 0.8084 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6143, allocations: 4 kB / 0.8084 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005752/0.6149, allocations: 300.3 kB / 0.8087 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.6151, allocations: 12 kB / 0.8087 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007506/0.6159, allocations: 55.92 kB / 0.8088 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.616, allocations: 40.5 kB / 0.8088 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002461/0.6185, allocations: 0.9592 MB / 0.8097 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002113/0.6206, allocations: 1.342 MB / 0.811 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005861/0.6212, allocations: 328.2 kB / 0.8114 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009282/0.6221, allocations: 0.8576 MB / 0.8122 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of Backend: time 7.11e-07/0.6221, allocations: 3.938 kB / 0.8122 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003539/0.6257, allocations: 1.39 MB / 0.8136 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of SimCode: time 0.005119/0.6308, allocations: 3.117 MB / 0.8166 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of Templates: time 0.04953/0.6803, allocations: 33.94 MB / 0.8497 GB, free: 10.67 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)