Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001062/0.001062, allocations: 191 kB / 17.2 MB, free: 5.613 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.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8192/0.8192, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.91 kB / 0.4911 GB, free: 7.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4225, allocations: 77.93 MB / 0.5672 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06816/0.4907, allocations: 70.43 MB / 0.636 GB, free: 4.219 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02556/0.5163, allocations: 18.92 MB / 0.6544 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003459/0.5198, allocations: 75.56 kB / 0.6545 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002981/0.5229, allocations: 0.8229 MB / 0.6553 GB, free: 352 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009884/0.5328, allocations: 2.852 MB / 0.6581 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005355/0.5382, allocations: 1.643 MB / 0.6597 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007472/0.5457, allocations: 4.032 MB / 0.6637 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002713/0.5484, allocations: 1.449 MB / 0.6651 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004914/0.5534, allocations: 1.76 MB / 0.6668 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002324/0.5557, allocations: 1.186 MB / 0.6679 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000602/0.5563, allocations: 176 kB / 0.6681 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003895/0.5602, allocations: 1.412 MB / 0.6695 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005976/0.5608, allocations: 386.7 kB / 0.6699 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.5625, allocations: 0.9254 MB / 0.6708 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005928/0.5684, allocations: 3.07 MB / 0.6738 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.5685, allocations: 0 / 0.6738 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5685, allocations: 0 / 0.6738 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.285e-05/0.5686, allocations: 0 / 0.6738 GB, free: 13.39 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004954/0.5735, allocations: 2.03 MB / 0.6757 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.5736, allocations: 8.625 kB / 0.6758 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002327/0.5759, allocations: 450.4 kB / 0.6762 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/0.5787, allocations: 1.484 MB / 0.6776 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003775/0.5791, allocations: 141.9 kB / 0.6778 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.5793, allocations: 100 kB / 0.6779 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002551/0.5818, allocations: 1.321 MB / 0.6792 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.5819, allocations: 7.875 kB / 0.6792 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-05/0.582, allocations: 44 kB / 0.6792 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.582, allocations: 24 kB / 0.6792 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.5846, allocations: 1.112 MB / 0.6803 GB, free: 6.453 MB / 0.5137 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.009043/0.5937, allocations: 7.561 MB / 0.6877 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/0.5968, allocations: 0.8056 MB / 0.6885 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005943/0.5974, allocations: 278 kB / 0.6887 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/0.5988, allocations: 1.726 MB / 0.6904 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.5989, allocations: 42.94 kB / 0.6905 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 3.196e-06/0.5989, allocations: 0 / 0.6905 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.004954/0.6039, allocations: 1.334 MB / 0.6918 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.6039, allocations: 59.84 kB / 0.6918 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/0.6067, allocations: 1.553 MB / 0.6934 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.6068, allocations: 41.7 kB / 0.6934 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006391/0.6075, allocations: 0.6689 MB / 0.694 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.6077, allocations: 169.6 kB / 0.6942 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003276/0.608, allocations: 182.5 kB / 0.6944 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.6082, allocations: 333.9 kB / 0.6947 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000976/0.6092, allocations: 373.8 kB / 0.6951 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.6104, allocations: 0.6585 MB / 0.6957 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.6122, allocations: 0.8945 MB / 0.6966 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.6122, allocations: 4 kB / 0.6966 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003118/0.6154, allocations: 1.193 MB / 0.6977 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/0.6154, allocations: 14.33 kB / 0.6978 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.6154, allocations: 8 kB / 0.6978 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009702/0.6164, allocations: 220.7 kB / 0.698 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/0.6172, allocations: 195.7 kB / 0.6982 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000867/0.618, allocations: 0.7317 MB / 0.6989 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.6197, allocations: 214.7 kB / 0.6991 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.6198, allocations: 47.97 kB / 0.6991 GB, free: 1.918 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008478/0.6207, allocations: 353.6 kB / 0.6995 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/0.621, allocations: 146.2 kB / 0.6996 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/0.6234, allocations: 1.145 MB / 0.7007 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.6234, allocations: 12 kB / 0.7007 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.6234, allocations: 3.984 kB / 0.7007 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.6234, allocations: 3.938 kB / 0.7007 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005633/0.6291, allocations: 2.51 MB / 0.7032 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.6291, allocations: 0 / 0.7032 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.6295, allocations: 83.88 kB / 0.7033 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008694/0.6304, allocations: 220.7 kB / 0.7035 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/0.6304, allocations: 12 kB / 0.7035 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.6317, allocations: 0.7786 MB / 0.7043 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.6317, allocations: 0 / 0.7043 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003518/0.6353, allocations: 1.207 MB / 0.7054 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000895/0.6362, allocations: 346.9 kB / 0.7058 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.6364, allocations: 12 kB / 0.7058 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008957/0.6373, allocations: 75.91 kB / 0.7058 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.6374, allocations: 44.45 kB / 0.7059 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.711e-05/0.6375, allocations: 23.98 kB / 0.7059 GB, free: 10.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001868/0.6394, allocations: 1.094 MB / 0.707 GB, free: 9.699 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6394, allocations: 4 kB / 0.707 GB, free: 9.695 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001574/0.641, allocations: 443.4 kB / 0.7074 GB, free: 9.262 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.001031/0.642, allocations: 474 kB / 0.7079 GB, free: 8.805 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002436/0.6444, allocations: 0.8837 MB / 0.7087 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6445, allocations: 0 / 0.7087 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.6458, allocations: 439.6 kB / 0.7091 GB, free: 7.496 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003307/0.6491, allocations: 0.7542 MB / 0.7099 GB, free: 6.781 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/0.6531, allocations: 2.284 MB / 0.7121 GB, free: 4.445 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000783/0.6539, allocations: 1.168 MB / 0.7132 GB, free: 3.246 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001046/0.655, allocations: 260.2 kB / 0.7135 GB, free: 2.988 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/0.6552, allocations: 119.4 kB / 0.7136 GB, free: 2.871 MB / 0.545 GB Notification: Performance of SimCode: time 6.92e-07/0.6552, allocations: 0 / 0.7136 GB, free: 2.871 MB / 0.545 GB Notification: Performance of Templates: time 0.05099/0.7062, allocations: 31.53 MB / 0.7444 GB, free: 3.656 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)