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.00164/0.00164, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002215/0.002215, allocations: 208.8 kB / 22.24 MB, free: 4.859 MB / 14.72 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 8.066 MB / 206.1 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.002574/0.002574, allocations: 290.3 kB / 312.7 MB, free: 2.793 MB / 238.1 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.303/1.303, allocations: 180.6 MB / 0.5369 GB, free: 14.6 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00309/0.00309, allocations: 101.7 kB / 0.74 GB, free: 27.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.192, allocations: 95.38 MB / 0.8331 GB, free: 7.859 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0795/0.2715, allocations: 65.01 MB / 0.8966 GB, free: 6.613 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.02695/0.2985, allocations: 17.56 MB / 0.9138 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002335/0.3008, allocations: 95.19 kB / 0.9139 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00278/0.3036, allocations: 0.8307 MB / 0.9147 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008479/0.312, allocations: 3.037 MB / 0.9176 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004404/0.3165, allocations: 1.689 MB / 0.9193 GB, free: 15.34 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006136/0.3226, allocations: 4.068 MB / 0.9233 GB, free: 11.26 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002002/0.3246, allocations: 1.134 MB / 0.9244 GB, free: 10.09 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004524/0.3291, allocations: 1.862 MB / 0.9262 GB, free: 8.227 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002552/0.3317, allocations: 1.171 MB / 0.9273 GB, free: 7.051 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003463/0.332, allocations: 172 kB / 0.9275 GB, free: 6.883 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.3349, allocations: 1.162 MB / 0.9286 GB, free: 5.719 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004443/0.3354, allocations: 398.4 kB / 0.929 GB, free: 5.328 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.3365, allocations: 0.7155 MB / 0.9297 GB, free: 4.609 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005221/0.3417, allocations: 3.091 MB / 0.9327 GB, free: 1.508 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3417, allocations: 0 / 0.9327 GB, free: 1.508 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.405e-06/0.3417, allocations: 0 / 0.9327 GB, free: 1.508 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.961e-05/0.3418, allocations: 0 / 0.9327 GB, free: 1.508 MB / 0.67 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.004198/0.346, allocations: 2.011 MB / 0.9347 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.346, allocations: 9.344 kB / 0.9347 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002321/0.3483, allocations: 455.4 kB / 0.9351 GB, free: 15 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003126/0.3515, allocations: 1.515 MB / 0.9366 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-05/0.3516, allocations: 78.03 kB / 0.9367 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.3517, allocations: 108 kB / 0.9368 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/0.3545, allocations: 1.41 MB / 0.9382 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.3545, allocations: 7.938 kB / 0.9382 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.3546, allocations: 44 kB / 0.9382 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.3547, allocations: 31.94 kB / 0.9382 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002777/0.3574, allocations: 1.097 MB / 0.9393 GB, free: 10.52 MB / 0.6856 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.008587/0.366, allocations: 5.398 MB / 0.9446 GB, free: 4.977 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003195/0.3692, allocations: 0.7728 MB / 0.9453 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006441/0.3699, allocations: 266 kB / 0.9456 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005485/0.3704, allocations: 156.3 kB / 0.9457 GB, free: 3.785 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.3705, allocations: 43 kB / 0.9458 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 2.424e-06/0.3705, allocations: 0 / 0.9458 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.004949/0.3754, allocations: 1.237 MB / 0.947 GB, free: 2.488 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.3755, allocations: 55.84 kB / 0.947 GB, free: 2.422 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/0.3778, allocations: 1.22 MB / 0.9482 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.938e-05/0.3779, allocations: 33.7 kB / 0.9483 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006831/0.3786, allocations: 0.711 MB / 0.949 GB, free: 444 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.3788, allocations: 182.5 kB / 0.9491 GB, free: 260 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003087/0.3791, allocations: 170.5 kB / 0.9493 GB, free: 84 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.3793, allocations: 334 kB / 0.9496 GB, free: 15.75 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.3804, allocations: 373.8 kB / 0.95 GB, free: 15.38 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/0.3819, allocations: 0.9886 MB / 0.9509 GB, free: 14.18 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/0.3839, allocations: 0.8819 MB / 0.9518 GB, free: 13.2 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.384, allocations: 0 / 0.9518 GB, free: 13.2 MB / 0.7013 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003219/0.3872, allocations: 1.173 MB / 0.9529 GB, free: 12.01 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.3872, allocations: 8 kB / 0.953 GB, free: 12 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.3872, allocations: 12.03 kB / 0.953 GB, free: 11.99 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009251/0.3881, allocations: 220.6 kB / 0.9532 GB, free: 11.77 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007989/0.3889, allocations: 195.7 kB / 0.9534 GB, free: 11.58 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.39, allocations: 0.7123 MB / 0.9541 GB, free: 10.84 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.3914, allocations: 171.4 kB / 0.9542 GB, free: 10.68 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.3915, allocations: 43.98 kB / 0.9543 GB, free: 10.63 MB / 0.7013 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.0006777/0.3921, allocations: 365.5 kB / 0.9546 GB, free: 10.27 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003273/0.3925, allocations: 123.2 kB / 0.9547 GB, free: 10.14 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002662/0.3951, allocations: 1.133 MB / 0.9558 GB, free: 8.996 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/0.3951, allocations: 8 kB / 0.9558 GB, free: 8.988 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3951, allocations: 4 kB / 0.9558 GB, free: 8.984 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.3952, allocations: 3.984 kB / 0.9559 GB, free: 8.98 MB / 0.7013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005753/0.4009, allocations: 2.184 MB / 0.958 GB, free: 6.746 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.4009, allocations: 0 / 0.958 GB, free: 6.746 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003801/0.4013, allocations: 83.89 kB / 0.9581 GB, free: 6.664 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007955/0.4021, allocations: 216.7 kB / 0.9583 GB, free: 6.449 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.205e-05/0.4021, allocations: 20.08 kB / 0.9583 GB, free: 6.43 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.4036, allocations: 0.7708 MB / 0.959 GB, free: 5.633 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4036, allocations: 0 / 0.959 GB, free: 5.633 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003658/0.4073, allocations: 1.19 MB / 0.9602 GB, free: 4.402 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006562/0.4079, allocations: 258.8 kB / 0.9605 GB, free: 4.148 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/0.4081, allocations: 12 kB / 0.9605 GB, free: 4.137 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008758/0.409, allocations: 67.86 kB / 0.9605 GB, free: 4.07 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/0.4091, allocations: 48.36 kB / 0.9606 GB, free: 4.023 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.219e-05/0.4092, allocations: 23.98 kB / 0.9606 GB, free: 4 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.001665/0.4108, allocations: 0.8471 MB / 0.9614 GB, free: 3.148 MB / 0.7013 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4108, allocations: 0 / 0.9614 GB, free: 3.148 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.001458/0.4123, allocations: 482.7 kB / 0.9619 GB, free: 2.676 MB / 0.7013 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.0009092/0.4132, allocations: 465.4 kB / 0.9623 GB, free: 2.219 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.002338/0.4155, allocations: 0.8247 MB / 0.9631 GB, free: 1.398 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.4155, allocations: 0 / 0.9631 GB, free: 1.398 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/0.4169, allocations: 431.3 kB / 0.9635 GB, free: 0.9766 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/0.4191, allocations: 482.3 kB / 0.964 GB, free: 0.5195 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.4237, allocations: 2.264 MB / 0.9662 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007577/0.4245, allocations: 0.5784 MB / 0.9668 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008887/0.4254, allocations: 229.1 kB / 0.967 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.4256, allocations: 99.34 kB / 0.9671 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of SimCode: time 8.52e-07/0.4256, allocations: 0 / 0.9671 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of Templates: time 0.4211/0.8467, allocations: 27.18 MB / 0.9936 GB, free: 139.4 MB / 0.7169 GB " [Timeout remaining time 659] 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: 7.649044035002589] Failed to read output from testmodel.py, exit status != 0: 0.8541797995567322 0.86526079 0.521143128 Calling exit ...