Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000895/0.000895, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009028/0.0009028, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9437/0.9437, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003983/0.003983, allocations: 248.6 kB / 260.5 MB, free: 12.88 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7217/0.7217, allocations: 138.4 MB / 455.4 MB, free: 30.02 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.555 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.022e-05, allocations: 6.109 kB / 0.555 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05024/0.05026, allocations: 73.47 MB / 0.6267 GB, free: 6.816 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01856/0.06883, allocations: 19.56 MB / 0.6458 GB, free: 3.203 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.07035, allocations: 95.19 kB / 0.6459 GB, free: 3.109 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.07178, allocations: 0.8304 MB / 0.6467 GB, free: 2.273 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.2212/0.2929, allocations: 3.105 MB / 0.6498 GB, free: 76.27 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003093/0.296, allocations: 1.77 MB / 0.6515 GB, free: 76.27 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003921/0.3, allocations: 4.083 MB / 0.6555 GB, free: 75.73 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.3013, allocations: 1.176 MB / 0.6566 GB, free: 75.6 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002998/0.3043, allocations: 2.44 MB / 0.659 GB, free: 75.35 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.3058, allocations: 1.056 MB / 0.66 GB, free: 75.23 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002487/0.306, allocations: 175.5 kB / 0.6602 GB, free: 75.23 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.3078, allocations: 1.168 MB / 0.6614 GB, free: 75.16 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.3081, allocations: 411.5 kB / 0.6617 GB, free: 75.08 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006002/0.3087, allocations: 0.6027 MB / 0.6623 GB, free: 75 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002496/0.3112, allocations: 2.014 MB / 0.6643 GB, free: 74.8 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.3112, allocations: 0.75 kB / 0.6643 GB, free: 74.8 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3112, allocations: 0 / 0.6643 GB, free: 74.8 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.577e-05/0.3112, allocations: 1.531 kB / 0.6643 GB, free: 74.8 MB / 0.5573 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.002971/0.3142, allocations: 2.097 MB / 0.6664 GB, free: 73.71 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3142, allocations: 13.91 kB / 0.6664 GB, free: 73.71 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.3153, allocations: 480.5 kB / 0.6668 GB, free: 73.61 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.317, allocations: 1.572 MB / 0.6684 GB, free: 73.23 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.36e-05/0.3171, allocations: 81.41 kB / 0.6684 GB, free: 73.23 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.3172, allocations: 110.1 kB / 0.6685 GB, free: 73.23 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.3185, allocations: 1.102 MB / 0.6696 GB, free: 72.72 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.3185, allocations: 3.375 kB / 0.6696 GB, free: 72.72 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.46e-05/0.3186, allocations: 45.16 kB / 0.6697 GB, free: 72.72 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.3186, allocations: 25.94 kB / 0.6697 GB, free: 72.72 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007861/0.3194, allocations: 473.4 kB / 0.6701 GB, free: 72.7 MB / 0.5573 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.003668/0.3231, allocations: 6.265 MB / 0.6763 GB, free: 69.01 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.3242, allocations: 475.3 kB / 0.6767 GB, free: 68.96 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.3243, allocations: 115.9 kB / 0.6768 GB, free: 68.95 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002824/0.3246, allocations: 165.7 kB / 0.677 GB, free: 68.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.3246, allocations: 42.2 kB / 0.677 GB, free: 68.9 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=48): time 1.764e-06/0.3246, allocations: 0 / 0.677 GB, free: 68.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48): time 0.001578/0.3262, allocations: 0.7321 MB / 0.6777 GB, free: 68.77 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.3262, allocations: 59.06 kB / 0.6778 GB, free: 68.71 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.3273, allocations: 1.048 MB / 0.6788 GB, free: 68.47 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.3273, allocations: 37.44 kB / 0.6789 GB, free: 68.44 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/0.3277, allocations: 0.7541 MB / 0.6796 GB, free: 68.08 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.429e-05/0.3278, allocations: 176.2 kB / 0.6798 GB, free: 67.97 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.328, allocations: 179.6 kB / 0.6799 GB, free: 67.94 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.496e-05/0.3281, allocations: 0.501 MB / 0.6804 GB, free: 67.46 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.3283, allocations: 105.5 kB / 0.6805 GB, free: 67.46 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/0.3288, allocations: 0.861 MB / 0.6814 GB, free: 66.54 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000631/0.3294, allocations: 0.596 MB / 0.6819 GB, free: 66.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.3294, allocations: 5.75 kB / 0.6819 GB, free: 66.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001102/0.3305, allocations: 0.6927 MB / 0.6826 GB, free: 65.98 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3306, allocations: 13.47 kB / 0.6826 GB, free: 65.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3306, allocations: 7.812 kB / 0.6826 GB, free: 65.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000512/0.3311, allocations: 178 kB / 0.6828 GB, free: 65.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/0.3315, allocations: 171.8 kB / 0.683 GB, free: 65.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003836/0.3319, allocations: 0.8759 MB / 0.6838 GB, free: 65.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005033/0.3324, allocations: 126.8 kB / 0.684 GB, free: 65.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-05/0.3325, allocations: 45.31 kB / 0.684 GB, free: 65.11 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (83): * Single equations (assignments): 82 * 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.0002317/0.3327, allocations: 217.3 kB / 0.6842 GB, free: 64.94 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.3328, allocations: 137.6 kB / 0.6843 GB, free: 64.87 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.3339, allocations: 0.763 MB / 0.6851 GB, free: 64.77 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.334, allocations: 13.27 kB / 0.6851 GB, free: 64.77 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.334, allocations: 4.219 kB / 0.6851 GB, free: 64.77 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.334, allocations: 8.078 kB / 0.6851 GB, free: 64.76 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.3361, allocations: 1.726 MB / 0.6868 GB, free: 64.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.3362, allocations: 3.375 kB / 0.6868 GB, free: 64.35 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.3363, allocations: 78.94 kB / 0.6869 GB, free: 64.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003435/0.3367, allocations: 166.3 kB / 0.687 GB, free: 64.32 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.3367, allocations: 15.16 kB / 0.687 GB, free: 64.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004007/0.3371, allocations: 0.9065 MB / 0.6879 GB, free: 63.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3371, allocations: 5.219 kB / 0.6879 GB, free: 63.52 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.3382, allocations: 0.8378 MB / 0.6887 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/0.3385, allocations: 240.3 kB / 0.689 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.326e-05/0.3386, allocations: 14.3 kB / 0.689 GB, free: 63.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.3389, allocations: 40.33 kB / 0.689 GB, free: 63.08 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.339, allocations: 47.22 kB / 0.6891 GB, free: 63.08 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.339, allocations: 30.64 kB / 0.6891 GB, free: 63.08 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006225/0.3396, allocations: 0.6406 MB / 0.6897 GB, free: 62.92 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.3396, allocations: 0 / 0.6897 GB, free: 62.92 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008796/0.3405, allocations: 478.5 kB / 0.6902 GB, free: 62.84 MB / 0.5573 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.0005445/0.3411, allocations: 481.9 kB / 0.6906 GB, free: 62.67 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006942/0.3417, allocations: 446.5 kB / 0.6911 GB, free: 62.64 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3418, allocations: 0 / 0.6911 GB, free: 62.64 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003955/0.3421, allocations: 249 kB / 0.6913 GB, free: 62.63 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.3433, allocations: 487.2 kB / 0.6918 GB, free: 62.59 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.3456, allocations: 2.057 MB / 0.6938 GB, free: 61.54 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.3457, allocations: 241.3 kB / 0.694 GB, free: 61.45 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000438/0.3462, allocations: 216.7 kB / 0.6942 GB, free: 61.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.3463, allocations: 101.3 kB / 0.6943 GB, free: 61.39 MB / 0.5573 GB Notification: Performance of SimCode: time 9.31e-07/0.3463, allocations: 4 kB / 0.6943 GB, free: 61.39 MB / 0.5573 GB Notification: Performance of Templates: time 0.02393/0.3703, allocations: 25.14 MB / 0.7189 GB, free: 52.53 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.327736546983942]