Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva") translateModel(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001253/0.001253, allocations: 106.3 kB / 15.99 MB, free: 5.891 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.001215/0.001215, allocations: 187.3 kB / 16.91 MB, free: 5.746 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.392/1.392, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002532/0.002532, allocations: 290.3 kB / 291 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 178.6 MB / 0.5076 GB, free: 4.68 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002702/0.002703, allocations: 93.89 kB / 0.6066 GB, free: 24.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.161, allocations: 89.15 MB / 0.6936 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva): time 0.0643/0.2253, allocations: 60.64 MB / 0.7528 GB, free: 7.848 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.317/0.5423, allocations: 11.9 MB / 0.7644 GB, free: 22.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/0.5445, allocations: 56.69 kB / 0.7645 GB, free: 22.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.5465, allocations: 0.5829 MB / 0.7651 GB, free: 22.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005392/0.5519, allocations: 1.831 MB / 0.7669 GB, free: 21.96 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003086/0.555, allocations: 1.096 MB / 0.7679 GB, free: 21.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004692/0.5597, allocations: 3.099 MB / 0.771 GB, free: 21.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.5615, allocations: 1.099 MB / 0.772 GB, free: 21.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003832/0.5654, allocations: 1.338 MB / 0.7733 GB, free: 21.76 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/0.5675, allocations: 0.919 MB / 0.7742 GB, free: 21.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003255/0.5678, allocations: 115.4 kB / 0.7743 GB, free: 21.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003939/0.5718, allocations: 1.465 MB / 0.7758 GB, free: 21.56 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004513/0.5723, allocations: 293.6 kB / 0.7761 GB, free: 21.51 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.5736, allocations: 0.6948 MB / 0.7767 GB, free: 21.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003043/0.5766, allocations: 1.746 MB / 0.7784 GB, free: 21.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.5766, allocations: 0.7969 kB / 0.7784 GB, free: 21.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5766, allocations: 0 / 0.7784 GB, free: 21.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.265e-05/0.5767, allocations: 0 / 0.7784 GB, free: 21.18 MB / 0.545 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.003104/0.5798, allocations: 1.73 MB / 0.7801 GB, free: 20.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.5798, allocations: 9.453 kB / 0.7801 GB, free: 20.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002384/0.5822, allocations: 409.1 kB / 0.7805 GB, free: 20.15 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/0.5844, allocations: 1.124 MB / 0.7816 GB, free: 19.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003582/0.5848, allocations: 120.5 kB / 0.7817 GB, free: 19.76 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.5849, allocations: 80.03 kB / 0.7818 GB, free: 19.76 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/0.587, allocations: 0.9826 MB / 0.7828 GB, free: 19.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.5871, allocations: 1.531 kB / 0.7828 GB, free: 19.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-05/0.5872, allocations: 33.84 kB / 0.7828 GB, free: 19.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.5872, allocations: 20.88 kB / 0.7828 GB, free: 19.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.5893, allocations: 0.8522 MB / 0.7837 GB, free: 19.57 MB / 0.545 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.005905/0.5953, allocations: 4.843 MB / 0.7884 GB, free: 16.78 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00336/0.5986, allocations: 0.8063 MB / 0.7892 GB, free: 16.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006719/0.5993, allocations: 295.3 kB / 0.7895 GB, free: 16.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004431/0.5998, allocations: 0.9009 MB / 0.7903 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.5998, allocations: 39.69 kB / 0.7904 GB, free: 15.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=43): time 2.254e-06/0.5998, allocations: 1.375 kB / 0.7904 GB, free: 15.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=43): time 0.007049/0.6069, allocations: 1.757 MB / 0.7921 GB, free: 14.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.6069, allocations: 55.78 kB / 0.7921 GB, free: 14.83 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.6085, allocations: 1.052 MB / 0.7932 GB, free: 14.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.965e-05/0.6086, allocations: 37.73 kB / 0.7932 GB, free: 14.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.609, allocations: 0.5213 MB / 0.7937 GB, free: 13.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.6091, allocations: 153.7 kB / 0.7939 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.6094, allocations: 126 kB / 0.794 GB, free: 13.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.113e-05/0.6095, allocations: 332.9 kB / 0.7943 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008979/0.6104, allocations: 304 kB / 0.7946 GB, free: 13.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009749/0.6113, allocations: 0.5025 MB / 0.7951 GB, free: 13.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.6129, allocations: 0.681 MB / 0.7957 GB, free: 12.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.6129, allocations: 1.281 kB / 0.7957 GB, free: 12.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003737/0.6167, allocations: 1.13 MB / 0.7969 GB, free: 12.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.6167, allocations: 9.438 kB / 0.7969 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.6167, allocations: 5.875 kB / 0.7969 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.618, allocations: 326 kB / 0.7972 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005534/0.6186, allocations: 113.7 kB / 0.7973 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.6199, allocations: 0.9202 MB / 0.7982 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.6214, allocations: 165.3 kB / 0.7983 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.863e-05/0.6215, allocations: 28.44 kB / 0.7984 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00119/0.6227, allocations: 0.5044 MB / 0.7989 GB, free: 11.26 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000938/0.6236, allocations: 0.4982 MB / 0.7993 GB, free: 10.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001474/0.6251, allocations: 0.6672 MB / 0.8 GB, free: 10.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.071e-06/0.6251, allocations: 5 kB / 0.8 GB, free: 10.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.003548/0.6287, allocations: 1.102 MB / 0.8011 GB, free: 10.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.6287, allocations: 8.844 kB / 0.8011 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.6287, allocations: 4.906 kB / 0.8011 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.6299, allocations: 320.7 kB / 0.8014 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005455/0.6304, allocations: 116.9 kB / 0.8015 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.6317, allocations: 0.9078 MB / 0.8024 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.6331, allocations: 152.2 kB / 0.8025 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/0.6332, allocations: 35.09 kB / 0.8026 GB, free: 9.402 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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.0002276/0.6335, allocations: 219.4 kB / 0.8028 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.6337, allocations: 112.8 kB / 0.8029 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/0.6359, allocations: 0.9263 MB / 0.8038 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.6359, allocations: 5.781 kB / 0.8038 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.636, allocations: 0 / 0.8038 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.636, allocations: 9.422 kB / 0.8038 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00475/0.6407, allocations: 2.158 MB / 0.8059 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/0.6408, allocations: 2.781 kB / 0.8059 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.641, allocations: 64.67 kB / 0.806 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009774/0.642, allocations: 305.9 kB / 0.8063 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.6421, allocations: 20.39 kB / 0.8063 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.6433, allocations: 0.9429 MB / 0.8072 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6433, allocations: 1.906 kB / 0.8072 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/0.6468, allocations: 1.159 MB / 0.8084 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005117/0.6473, allocations: 264.9 kB / 0.8086 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.6475, allocations: 13.5 kB / 0.8086 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008723/0.6483, allocations: 96.05 kB / 0.8087 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-05/0.6484, allocations: 39.02 kB / 0.8087 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.6485, allocations: 28.42 kB / 0.8088 GB, free: 5.281 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001058/0.6496, allocations: 0.7402 MB / 0.8095 GB, free: 4.859 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6496, allocations: 1.156 kB / 0.8095 GB, free: 4.859 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001619/0.6512, allocations: 0.5561 MB / 0.81 GB, free: 4.742 MB / 0.545 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.000786/0.652, allocations: 386.2 kB / 0.8104 GB, free: 4.531 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002963/0.655, allocations: 1.112 MB / 0.8115 GB, free: 4.023 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.655, allocations: 128 / 0.8115 GB, free: 4.023 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007884/0.6558, allocations: 351.4 kB / 0.8118 GB, free: 3.867 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/0.6581, allocations: 0.5094 MB / 0.8123 GB, free: 3.598 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004906/0.663, allocations: 2.469 MB / 0.8147 GB, free: 1.957 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.6634, allocations: 1.061 MB / 0.8158 GB, free: 1.094 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.6637, allocations: 76.52 kB / 0.8158 GB, free: 1.082 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.6637, allocations: 0 / 0.8158 GB, free: 1.082 MB / 0.545 GB Notification: Performance of Templates: time 0.03351/0.6972, allocations: 23.76 MB / 0.8391 GB, free: 13.49 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)