Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 115.7 kB / 19.64 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 202.6 kB / 22.93 MB, free: 5.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 225.6 MB / 251.7 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7811/0.7811, allocations: 129.2 MB / 436 MB, free: 5.723 MB / 334.1 MB " [Timeout remaining time 179] 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.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource") translateModel(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 71.81 kB / 0.6041 GB, free: 20.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1397, allocations: 83.44 MB / 0.6855 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.5306/0.6703, allocations: 226.3 MB / 0.9066 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01799/0.6883, allocations: 12.73 MB / 0.919 GB, free: 10.2 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.6897, allocations: 67.62 kB / 0.919 GB, free: 10.13 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002463/0.6922, allocations: 1.228 MB / 0.9202 GB, free: 8.895 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006336/0.6985, allocations: 3.282 MB / 0.9234 GB, free: 5.602 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00384/0.7024, allocations: 1.859 MB / 0.9253 GB, free: 3.758 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004592/0.707, allocations: 4.166 MB / 0.9293 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.7084, allocations: 1.113 MB / 0.9304 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003637/0.712, allocations: 2.168 MB / 0.9325 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/0.7138, allocations: 1.457 MB / 0.934 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.714, allocations: 180 kB / 0.9341 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004281/0.7183, allocations: 2.787 MB / 0.9369 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008099/0.7191, allocations: 0.9891 MB / 0.9378 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.7203, allocations: 1.329 MB / 0.9391 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00488/0.7252, allocations: 4.414 MB / 0.9434 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7252, allocations: 0 / 0.9434 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of FrontEnd: time 9.02e-07/0.7252, allocations: 0 / 0.9434 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.7252, allocations: 0 / 0.9434 GB, free: 1.074 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004918/0.7302, allocations: 3.168 MB / 0.9465 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.7302, allocations: 16.62 kB / 0.9465 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004215/0.7344, allocations: 0.7944 MB / 0.9473 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003713/0.7381, allocations: 2.535 MB / 0.9498 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.7382, allocations: 123.8 kB / 0.9499 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.7384, allocations: 108 kB / 0.95 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003552/0.742, allocations: 2.058 MB / 0.952 GB, free: 8.043 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.742, allocations: 3.938 kB / 0.952 GB, free: 8.039 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.7421, allocations: 44 kB / 0.9521 GB, free: 7.996 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.873e-05/0.7422, allocations: 42.08 kB / 0.9521 GB, free: 7.953 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004627/0.7468, allocations: 2.558 MB / 0.9546 GB, free: 5.387 MB / 0.7012 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.0109/0.7577, allocations: 8.163 MB / 0.9626 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003865/0.7616, allocations: 2.094 MB / 0.9646 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001755/0.7633, allocations: 0.8921 MB / 0.9655 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/0.7644, allocations: 1.056 MB / 0.9665 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001834/0.7663, allocations: 1.02 MB / 0.9675 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=91): time 2.454e-06/0.7663, allocations: 0 / 0.9675 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91): time 0.02265/0.7889, allocations: 5.932 MB / 0.9733 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.426e-05/0.789, allocations: 141.2 kB / 0.9734 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005324/0.7943, allocations: 3.981 MB / 0.9773 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.7945, allocations: 45.7 kB / 0.9774 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009604/0.7954, allocations: 1.024 MB / 0.9784 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/0.7957, allocations: 313.3 kB / 0.9787 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004902/0.7962, allocations: 218.5 kB / 0.9789 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.7964, allocations: 349.9 kB / 0.9792 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/0.7984, allocations: 1.084 MB / 0.9803 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/0.8006, allocations: 1.309 MB / 0.9816 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003739/0.8044, allocations: 2.179 MB / 0.9837 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.8044, allocations: 3.938 kB / 0.9837 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.007926/0.8123, allocations: 3.661 MB / 0.9873 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.999e-05/0.8124, allocations: 75.38 kB / 0.9873 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.8124, allocations: 4 kB / 0.9873 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004298/0.8167, allocations: 1.931 MB / 0.9892 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009192/0.8176, allocations: 183.7 kB / 0.9894 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00892/0.8265, allocations: 6.636 MB / 0.9959 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.8284, allocations: 243 kB / 0.9961 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.8285, allocations: 51.97 kB / 0.9962 GB, free: 9.508 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 17 (THotIn_set.nextEventScaled,THotIn_set.nextEvent,$PRE.THotIn_set.nextEvent,THotIn_set.last,THotIn_set.b,THotIn_set.a,mHot_flow_set.nextEventScaled,mHot_flow_set.nextEvent,$PRE.mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.b,mHot_flow_set.a,orc.cyc.hys.y,$PRE.orc.cyc.hys.y,orc.on_actual,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 79 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0009222/0.8294, allocations: 0.6544 MB / 0.9968 GB, free: 8.832 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004143/0.8299, allocations: 258.4 kB / 0.997 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007826/0.8377, allocations: 3.18 MB / 1 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.8377, allocations: 8 kB / 1 GB, free: 5.352 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.8377, allocations: 0 / 1 GB, free: 5.352 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.8377, allocations: 7.984 kB / 1 GB, free: 5.344 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/0.8493, allocations: 5.567 MB / 1.006 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.8493, allocations: 7.938 kB / 1.006 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/0.85, allocations: 95.88 kB / 1.006 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004173/0.8541, allocations: 1.913 MB / 1.008 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.137e-05/0.8542, allocations: 35.97 kB / 1.008 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008532/0.8628, allocations: 6.592 MB / 1.014 GB, free: 6.672 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.8628, allocations: 4 kB / 1.014 GB, free: 6.668 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007378/0.8701, allocations: 3.253 MB / 1.017 GB, free: 3.336 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009591/0.8711, allocations: 0.5223 MB / 1.018 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00031/0.8714, allocations: 24 kB / 1.018 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/0.8729, allocations: 123.8 kB / 1.018 GB, free: 2.648 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.873, allocations: 68.56 kB / 1.018 GB, free: 2.582 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.787e-05/0.8731, allocations: 43.97 kB / 1.018 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003543/0.8767, allocations: 2.915 MB / 1.021 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8767, allocations: 7.938 kB / 1.021 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001685/0.8784, allocations: 0.7177 MB / 1.022 GB, free: 14.89 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,orc.on_actual,orc.cyc.hys.y,mHot_flow_set.a,mHot_flow_set.b,mHot_flow_set.last,mHot_flow_set.nextEvent,mHot_flow_set.nextEventScaled,THotIn_set.a,THotIn_set.b,THotIn_set.last,THotIn_set.nextEvent,THotIn_set.nextEventScaled) * Number of discrete states: 13 (THotIn_set.nextEvent,THotIn_set.last,THotIn_set.nextEventScaled,THotIn_set.b,THotIn_set.a,$whenCondition2,mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.nextEventScaled,mHot_flow_set.b,mHot_flow_set.a,$whenCondition1,orc.cyc.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001001/0.8794, allocations: 0.497 MB / 1.022 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.004935/0.8843, allocations: 2.533 MB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8843, allocations: 0 / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002547/0.8868, allocations: 1.336 MB / 1.026 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003898/0.8907, allocations: 1.002 MB / 1.027 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008037/0.8988, allocations: 4.74 MB / 1.031 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/0.9002, allocations: 1.683 MB / 1.033 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0009368/0.9011, allocations: 377.6 kB / 1.033 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.9015, allocations: 139.4 kB / 1.034 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.9015, allocations: 4 kB / 1.034 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of Templates: time 0.3431/1.245, allocations: 51.8 MB / 1.084 GB, free: 321.5 MB / 0.8262 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & ./IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.47063028998673] Failed to read output from testmodel.py, exit status != 0: 1.2517027677968144 1.2633422239999998 0.535795436 Calling exit ...