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.0014/0.0014, allocations: 84.73 kB / 19.44 MB, free: 344 kB / 13.93 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.001593/0.001593, allocations: 161.7 kB / 22.75 MB, free: 1.672 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 1.47/1.47, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.00255/0.00255, allocations: 222.5 kB / 259.8 MB, free: 12.85 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 1.084/1.084, allocations: 138.4 MB / 454.7 MB, free: 1.434 MB / 362.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.242e-06/1.242e-06, allocations: 0 / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.205e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.273/0.273, allocations: 64.47 MB / 0.6173 GB, free: 69.67 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02065/0.2937, allocations: 17.54 MB / 0.6344 GB, free: 62.94 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002463/0.2962, allocations: 95.22 kB / 0.6345 GB, free: 62.89 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.2983, allocations: 0.8342 MB / 0.6353 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0079/0.3062, allocations: 3.115 MB / 0.6383 GB, free: 60.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004643/0.3109, allocations: 1.764 MB / 0.6401 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005241/0.3161, allocations: 4.085 MB / 0.6441 GB, free: 57.37 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00204/0.3181, allocations: 1.172 MB / 0.6452 GB, free: 56.6 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00501/0.3232, allocations: 2.43 MB / 0.6476 GB, free: 55.38 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.3249, allocations: 1.034 MB / 0.6486 GB, free: 55.02 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002507/0.3252, allocations: 175.8 kB / 0.6487 GB, free: 55.02 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/0.3277, allocations: 1.177 MB / 0.6499 GB, free: 54.64 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002834/0.328, allocations: 402 kB / 0.6503 GB, free: 54.36 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00073/0.3287, allocations: 0.6043 MB / 0.6509 GB, free: 54.08 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003871/0.3326, allocations: 3.141 MB / 0.6539 GB, free: 52.71 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3326, allocations: 0 / 0.6539 GB, free: 52.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3326, allocations: 4 kB / 0.6539 GB, free: 52.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.836e-05/0.3327, allocations: 0 / 0.6539 GB, free: 52.7 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003075/0.3357, allocations: 1.996 MB / 0.6559 GB, free: 51.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3358, allocations: 9 kB / 0.6559 GB, free: 51.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00235/0.3381, allocations: 0.5348 MB / 0.6564 GB, free: 50.94 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/0.3405, allocations: 1.629 MB / 0.658 GB, free: 49.76 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.875e-05/0.3406, allocations: 79.72 kB / 0.6581 GB, free: 49.72 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.3407, allocations: 102.2 kB / 0.6582 GB, free: 49.69 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.3429, allocations: 1.418 MB / 0.6596 GB, free: 48.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.3429, allocations: 2.562 kB / 0.6596 GB, free: 48.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-05/0.343, allocations: 44.06 kB / 0.6596 GB, free: 48.62 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.343, allocations: 24.22 kB / 0.6596 GB, free: 48.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002414/0.3455, allocations: 1.107 MB / 0.6607 GB, free: 48.06 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.006473/0.3519, allocations: 5.451 MB / 0.666 GB, free: 43.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003081/0.355, allocations: 0.7734 MB / 0.6668 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005452/0.3556, allocations: 271.6 kB / 0.6671 GB, free: 43.05 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005096/0.3561, allocations: 157.8 kB / 0.6672 GB, free: 42.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.3561, allocations: 37.94 kB / 0.6672 GB, free: 42.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 2.555e-06/0.3561, allocations: 0 / 0.6672 GB, free: 42.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.00455/0.3606, allocations: 1.256 MB / 0.6685 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.3607, allocations: 57.88 kB / 0.6685 GB, free: 42.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/0.3625, allocations: 1.223 MB / 0.6697 GB, free: 41.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.459e-05/0.3626, allocations: 39.48 kB / 0.6698 GB, free: 41.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/0.363, allocations: 0.7115 MB / 0.6705 GB, free: 40.88 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.3632, allocations: 174.4 kB / 0.6706 GB, free: 40.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.3634, allocations: 173.7 kB / 0.6708 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.389e-05/0.3635, allocations: 333.5 kB / 0.6711 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008972/0.3644, allocations: 361.8 kB / 0.6714 GB, free: 40 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.3654, allocations: 0.9847 MB / 0.6724 GB, free: 38.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.367, allocations: 0.8944 MB / 0.6733 GB, free: 37.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.367, allocations: 0 / 0.6733 GB, free: 37.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002721/0.3697, allocations: 1.204 MB / 0.6745 GB, free: 36.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3697, allocations: 8 kB / 0.6745 GB, free: 36.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.3697, allocations: 8 kB / 0.6745 GB, free: 36.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008371/0.3706, allocations: 218.1 kB / 0.6747 GB, free: 36.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007475/0.3713, allocations: 193.4 kB / 0.6749 GB, free: 36.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006946/0.372, allocations: 0.7236 MB / 0.6756 GB, free: 35.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.3734, allocations: 171.4 kB / 0.6757 GB, free: 35.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.734e-05/0.3735, allocations: 43.98 kB / 0.6758 GB, free: 35.22 MB / 0.5105 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.0005229/0.374, allocations: 365.5 kB / 0.6761 GB, free: 34.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/0.3743, allocations: 135.2 kB / 0.6763 GB, free: 34.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.3765, allocations: 1.134 MB / 0.6774 GB, free: 33.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.3765, allocations: 11.98 kB / 0.6774 GB, free: 33.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3765, allocations: 3.938 kB / 0.6774 GB, free: 33.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.3765, allocations: 3.984 kB / 0.6774 GB, free: 33.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004711/0.3813, allocations: 2.186 MB / 0.6795 GB, free: 31.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.3813, allocations: 4 kB / 0.6795 GB, free: 31.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.3816, allocations: 79.88 kB / 0.6796 GB, free: 31.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007131/0.3823, allocations: 223.4 kB / 0.6798 GB, free: 31.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.3824, allocations: 11.94 kB / 0.6798 GB, free: 31.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.3835, allocations: 0.7748 MB / 0.6806 GB, free: 30.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3835, allocations: 7.094 kB / 0.6806 GB, free: 30.22 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003148/0.3866, allocations: 1.205 MB / 0.6818 GB, free: 28.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004963/0.3871, allocations: 238.9 kB / 0.682 GB, free: 28.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/0.3873, allocations: 19.94 kB / 0.682 GB, free: 28.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008541/0.3882, allocations: 63.92 kB / 0.6821 GB, free: 28.67 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.838e-05/0.3883, allocations: 48.3 kB / 0.6821 GB, free: 28.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.996e-05/0.3884, allocations: 31.98 kB / 0.6821 GB, free: 28.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00125/0.3896, allocations: 0.851 MB / 0.683 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3896, allocations: 0 / 0.683 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001367/0.391, allocations: 478.8 kB / 0.6834 GB, free: 27.26 MB / 0.5105 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.0007658/0.3917, allocations: 481.5 kB / 0.6839 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.3938, allocations: 0.8294 MB / 0.6847 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3938, allocations: 0 / 0.6847 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.395, allocations: 428.7 kB / 0.6851 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/0.397, allocations: 490.8 kB / 0.6856 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.4005, allocations: 2.267 MB / 0.6878 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.4009, allocations: 0.5862 MB / 0.6884 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000758/0.4017, allocations: 228.6 kB / 0.6886 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.4019, allocations: 100.4 kB / 0.6887 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of SimCode: time 1.062e-06/0.4019, allocations: 4 kB / 0.6887 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of Templates: time 0.03455/0.4365, allocations: 25.11 MB / 0.7132 GB, free: 13.29 MB / 0.5261 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.69944471900817]