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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.6888/0.6888, allocations: 128.7 MB / 144.5 MB, free: 1.363 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 192.1 kB / 174.2 MB, free: 5.93 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.1 MB / 408.9 MB, free: 9.715 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 108 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001021, allocations: 56.58 kB / 0.558 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1423, allocations: 75.48 MB / 0.6317 GB, free: 33.03 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.06721/0.2095, allocations: 79.61 MB / 0.7094 GB, free: 1.148 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01689/0.2265, allocations: 12.71 MB / 0.7218 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002619/0.2291, allocations: 55.69 kB / 0.7219 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002168/0.2313, allocations: 0.7071 MB / 0.7226 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.006872/0.2382, allocations: 2.318 MB / 0.7248 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003206/0.2415, allocations: 1.162 MB / 0.726 GB, free: 164 kB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.006645/0.2481, allocations: 5.786 MB / 0.7316 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.2498, allocations: 1.179 MB / 0.7328 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002745/0.2526, allocations: 1.466 MB / 0.7342 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.2542, allocations: 1.245 MB / 0.7354 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.2544, allocations: 72 kB / 0.7355 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.2572, allocations: 1.134 MB / 0.7366 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003485/0.2575, allocations: 306.6 kB / 0.7369 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.2586, allocations: 0.8356 MB / 0.7377 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003886/0.2625, allocations: 2.906 MB / 0.7405 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2625, allocations: 0 / 0.7405 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2625, allocations: 0 / 0.7405 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.796e-05/0.2626, allocations: 0 / 0.7405 GB, free: 1.164 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.2798/0.5424, allocations: 2.091 MB / 0.7426 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.5424, allocations: 9.219 kB / 0.7426 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.5435, allocations: 237.8 kB / 0.7428 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/0.546, allocations: 1.492 MB / 0.7443 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.704e-05/0.5461, allocations: 81.3 kB / 0.7444 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.5463, allocations: 105.2 kB / 0.7445 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/0.5491, allocations: 1.235 MB / 0.7457 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.5491, allocations: 5.375 kB / 0.7457 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.5493, allocations: 46.89 kB / 0.7457 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.743e-05/0.5493, allocations: 32.55 kB / 0.7457 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002614/0.5519, allocations: 0.9832 MB / 0.7467 GB, free: 107.4 MB / 0.5105 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.006449/0.5584, allocations: 5.59 MB / 0.7522 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.5602, allocations: 0.6576 MB / 0.7528 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006417/0.5608, allocations: 305.7 kB / 0.7531 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003742/0.5612, allocations: 0.501 MB / 0.7536 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.5612, allocations: 43.14 kB / 0.7536 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=53): time 3.837e-06/0.5613, allocations: 0 / 0.7536 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=53): time 0.00807/0.5693, allocations: 1.685 MB / 0.7553 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.5694, allocations: 57.34 kB / 0.7553 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.5713, allocations: 1.271 MB / 0.7566 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-05/0.5714, allocations: 39.72 kB / 0.7566 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004551/0.5719, allocations: 0.659 MB / 0.7572 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.572, allocations: 189.3 kB / 0.7574 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/0.5723, allocations: 167.7 kB / 0.7576 GB, free: 102 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.834e-05/0.5723, allocations: 335.2 kB / 0.7579 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006445/0.573, allocations: 301.4 kB / 0.7582 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008193/0.5738, allocations: 0.5656 MB / 0.7587 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.5752, allocations: 0.783 MB / 0.7595 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.5753, allocations: 3.156 kB / 0.7595 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004741/0.58, allocations: 1.345 MB / 0.7608 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.58, allocations: 11.67 kB / 0.7608 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.5801, allocations: 7.062 kB / 0.7608 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000555/0.5806, allocations: 146.2 kB / 0.761 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006861/0.5813, allocations: 177.8 kB / 0.7612 GB, free: 99.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000707/0.582, allocations: 0.7032 MB / 0.7618 GB, free: 99.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.5834, allocations: 176 kB / 0.762 GB, free: 99.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.446e-05/0.5834, allocations: 34.84 kB / 0.762 GB, free: 99.26 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001125/0.5846, allocations: 0.5597 MB / 0.7626 GB, free: 98.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008255/0.5854, allocations: 0.5408 MB / 0.7631 GB, free: 98.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001298/0.5867, allocations: 0.7609 MB / 0.7639 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.719e-06/0.5867, allocations: 5.5 kB / 0.7639 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.004748/0.5915, allocations: 1.311 MB / 0.7651 GB, free: 97.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.5915, allocations: 7.266 kB / 0.7652 GB, free: 97.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.5915, allocations: 7.719 kB / 0.7652 GB, free: 97.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005089/0.5921, allocations: 144.1 kB / 0.7653 GB, free: 97.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/0.5927, allocations: 176.6 kB / 0.7655 GB, free: 97.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006586/0.5934, allocations: 0.6952 MB / 0.7661 GB, free: 96.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.5947, allocations: 149.5 kB / 0.7663 GB, free: 96.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.185e-05/0.5947, allocations: 30.84 kB / 0.7663 GB, free: 96.43 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (87): * Single equations (assignments): 86 * 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.0002478/0.595, allocations: 233.6 kB / 0.7665 GB, free: 96.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.5952, allocations: 135.3 kB / 0.7667 GB, free: 96.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004413/0.5996, allocations: 1.142 MB / 0.7678 GB, free: 95.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.5996, allocations: 13.19 kB / 0.7678 GB, free: 95.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.5997, allocations: 7.25 kB / 0.7678 GB, free: 95.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004003/0.6037, allocations: 1.065 MB / 0.7688 GB, free: 94.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006621/0.6103, allocations: 2.51 MB / 0.7713 GB, free: 93.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.6104, allocations: 3.969 kB / 0.7713 GB, free: 93.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004965/0.6109, allocations: 107.3 kB / 0.7714 GB, free: 93.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004464/0.6113, allocations: 135.9 kB / 0.7715 GB, free: 93.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/0.6114, allocations: 19.89 kB / 0.7716 GB, free: 93.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003967/0.6153, allocations: 2.328 MB / 0.7738 GB, free: 91.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6154, allocations: 3.969 kB / 0.7738 GB, free: 91.08 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02917/0.6445, allocations: 10.53 MB / 0.7841 GB, free: 81.13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004213/0.645, allocations: 295.7 kB / 0.7844 GB, free: 80.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.6452, allocations: 12 kB / 0.7844 GB, free: 80.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008579/0.646, allocations: 91.88 kB / 0.7845 GB, free: 80.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.6462, allocations: 63.55 kB / 0.7845 GB, free: 80.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.926e-05/0.6462, allocations: 23.98 kB / 0.7846 GB, free: 80.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009925/0.6472, allocations: 0.8867 MB / 0.7854 GB, free: 79.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6472, allocations: 0 / 0.7854 GB, free: 79.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002602/0.6498, allocations: 1.106 MB / 0.7865 GB, free: 78.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0006912/0.6505, allocations: 378 kB / 0.7869 GB, free: 78.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002429/0.653, allocations: 1.148 MB / 0.788 GB, free: 77.19 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.653, allocations: 0 / 0.788 GB, free: 77.19 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.6543, allocations: 0.5351 MB / 0.7885 GB, free: 76.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003349/0.6577, allocations: 0.795 MB / 0.7893 GB, free: 75.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004937/0.6626, allocations: 3.448 MB / 0.7927 GB, free: 72.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.6632, allocations: 1.199 MB / 0.7938 GB, free: 71.13 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001275/0.6644, allocations: 304.9 kB / 0.7941 GB, free: 70.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.6647, allocations: 107.4 kB / 0.7942 GB, free: 70.74 MB / 0.5105 GB Notification: Performance of SimCode: time 7.52e-07/0.6647, allocations: 4 kB / 0.7942 GB, free: 70.74 MB / 0.5105 GB Notification: Performance of Templates: time 0.04222/0.7069, allocations: 33.64 MB / 0.8271 GB, free: 37.44 MB / 0.5105 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)