Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008508/0.008508, allocations: 100.4 kB / 15.73 MB, free: 5.977 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.001772/0.001772, allocations: 195.8 kB / 16.67 MB, free: 5.914 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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 1.009/1.009, allocations: 143 MB / 433.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 64.09 kB / 0.5955 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4343, allocations: 82.04 MB / 0.6756 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.0582/0.4925, allocations: 61.15 MB / 0.7353 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01714/0.5097, allocations: 11.99 MB / 0.7471 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/0.5121, allocations: 63.62 kB / 0.7471 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.5141, allocations: 0.6752 MB / 0.7478 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006158/0.5203, allocations: 1.97 MB / 0.7497 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003518/0.5238, allocations: 1.204 MB / 0.7509 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004884/0.5287, allocations: 3.083 MB / 0.7539 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.5304, allocations: 1.088 MB / 0.7549 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003128/0.5335, allocations: 1.339 MB / 0.7563 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.5347, allocations: 0.8944 MB / 0.7571 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.5349, allocations: 116 kB / 0.7572 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.538, allocations: 1.447 MB / 0.7586 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000303/0.5384, allocations: 290.9 kB / 0.7589 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007372/0.5391, allocations: 0.6958 MB / 0.7596 GB, free: 204 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003167/0.5423, allocations: 2.401 MB / 0.762 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5423, allocations: 4 kB / 0.762 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5423, allocations: 4 kB / 0.762 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.615e-05/0.5423, allocations: 0 / 0.762 GB, free: 13.79 MB / 0.5919 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.002942/0.5453, allocations: 1.719 MB / 0.7636 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.5453, allocations: 8.031 kB / 0.7636 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/0.5474, allocations: 410.8 kB / 0.764 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.5494, allocations: 1.175 MB / 0.7652 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.234e-05/0.5495, allocations: 62 kB / 0.7652 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.5496, allocations: 80 kB / 0.7653 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.5515, allocations: 1.005 MB / 0.7663 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.5515, allocations: 3.938 kB / 0.7663 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.112e-05/0.5516, allocations: 32 kB / 0.7663 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.5516, allocations: 20 kB / 0.7664 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.5536, allocations: 0.843 MB / 0.7672 GB, free: 8.266 MB / 0.5919 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.00592/0.5596, allocations: 5.231 MB / 0.7723 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/0.5627, allocations: 0.7842 MB / 0.7731 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006537/0.5634, allocations: 292.7 kB / 0.7733 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006374/0.564, allocations: 0.9025 MB / 0.7742 GB, free: 480 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.5641, allocations: 42.55 kB / 0.7743 GB, free: 428 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.325e-06/0.5641, allocations: 0 / 0.7743 GB, free: 428 kB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.006555/0.5707, allocations: 1.69 MB / 0.7759 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.5707, allocations: 63.34 kB / 0.776 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.5722, allocations: 1.076 MB / 0.777 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.219e-05/0.5723, allocations: 37.7 kB / 0.777 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/0.5727, allocations: 0.5272 MB / 0.7776 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.5728, allocations: 153.8 kB / 0.7777 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.573, allocations: 138.1 kB / 0.7778 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5731, allocations: 337.9 kB / 0.7782 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000813/0.574, allocations: 299.3 kB / 0.7784 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009715/0.5749, allocations: 0.529 MB / 0.779 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.5765, allocations: 0.7142 MB / 0.7797 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5765, allocations: 0 / 0.7797 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002543/0.579, allocations: 1.008 MB / 0.7806 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.5791, allocations: 8 kB / 0.7807 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.5791, allocations: 4 kB / 0.7807 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.5802, allocations: 312.5 kB / 0.781 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005205/0.5808, allocations: 135.8 kB / 0.7811 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.5821, allocations: 0.8978 MB / 0.782 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.5832, allocations: 151.2 kB / 0.7821 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.765e-05/0.5833, allocations: 31.98 kB / 0.7821 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001185/0.5845, allocations: 0.509 MB / 0.7826 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001079/0.5855, allocations: 0.5212 MB / 0.7831 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001686/0.5872, allocations: 0.7063 MB / 0.7838 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.206e-06/0.5873, allocations: 0 / 0.7838 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002805/0.5901, allocations: 1.004 MB / 0.7848 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.5901, allocations: 5.719 kB / 0.7848 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5901, allocations: 8 kB / 0.7848 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.5912, allocations: 300.6 kB / 0.7851 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005164/0.5917, allocations: 127.8 kB / 0.7852 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.5931, allocations: 0.8976 MB / 0.7861 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.5944, allocations: 135.6 kB / 0.7862 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.406e-05/0.5945, allocations: 31.98 kB / 0.7863 GB, free: 3.609 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003248/0.5949, allocations: 216.1 kB / 0.7865 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.5951, allocations: 110.6 kB / 0.7866 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.5974, allocations: 0.9184 MB / 0.7875 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.5974, allocations: 12 kB / 0.7875 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.5974, allocations: 0 / 0.7875 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.5974, allocations: 7.922 kB / 0.7875 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004867/0.6023, allocations: 2.149 MB / 0.7896 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.6023, allocations: 8 kB / 0.7896 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.6026, allocations: 64.17 kB / 0.7897 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009412/0.6035, allocations: 296.5 kB / 0.79 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.6036, allocations: 15.94 kB / 0.79 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/0.605, allocations: 0.9246 MB / 0.7909 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.605, allocations: 0 / 0.7909 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/0.6084, allocations: 1.152 MB / 0.792 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004033/0.6088, allocations: 263.5 kB / 0.7922 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.6089, allocations: 16 kB / 0.7923 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007371/0.6097, allocations: 71.91 kB / 0.7923 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.6098, allocations: 43.77 kB / 0.7924 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/0.6098, allocations: 23.98 kB / 0.7924 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001068/0.6109, allocations: 0.7512 MB / 0.7931 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6109, allocations: 0 / 0.7931 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00155/0.6125, allocations: 0.5653 MB / 0.7937 GB, free: 11.82 MB / 0.6231 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007639/0.6132, allocations: 389 kB / 0.7941 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002906/0.6162, allocations: 1.118 MB / 0.7951 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6162, allocations: 0 / 0.7951 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008141/0.617, allocations: 339.5 kB / 0.7955 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/0.619, allocations: 0.5154 MB / 0.796 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005021/0.6241, allocations: 2.02 MB / 0.7979 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006613/0.6248, allocations: 1.069 MB / 0.799 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008261/0.6256, allocations: 224.8 kB / 0.7992 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.6258, allocations: 75.42 kB / 0.7993 GB, free: 6 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.6258, allocations: 0 / 0.7993 GB, free: 6 MB / 0.6231 GB Notification: Performance of Templates: time 0.03857/0.6644, allocations: 25.11 MB / 0.8238 GB, free: 13.19 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)