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.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.001411/0.001411, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001569/0.001569, allocations: 211.5 kB / 23.74 MB, free: 4.445 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.018/1.018, allocations: 149.9 MB / 463.8 MB, free: 10.33 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(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: IBPSA 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.00205/0.00205, allocations: 63.03 kB / 0.6423 GB, free: 9.637 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.179, allocations: 89.17 MB / 0.7294 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.6334/0.8124, allocations: 199.8 MB / 0.9245 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01948/0.8318, allocations: 11.83 MB / 0.936 GB, free: 1.141 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002546/0.8344, allocations: 95.19 kB / 0.9361 GB, free: 1.047 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003605/0.838, allocations: 1.166 MB / 0.9373 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009541/0.8475, allocations: 3.294 MB / 0.9405 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004925/0.8525, allocations: 1.848 MB / 0.9423 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006532/0.859, allocations: 4.203 MB / 0.9464 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00206/0.861, allocations: 1.121 MB / 0.9475 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005146/0.8662, allocations: 2.23 MB / 0.9497 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002719/0.8689, allocations: 1.375 MB / 0.951 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003476/0.8693, allocations: 180 kB / 0.9512 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005055/0.8743, allocations: 2.276 MB / 0.9534 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.8754, allocations: 0.993 MB / 0.9544 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001533/0.8769, allocations: 1.065 MB / 0.9554 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006923/0.8838, allocations: 4.387 MB / 0.9597 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.8838, allocations: 0 / 0.9597 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8838, allocations: 0 / 0.9597 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.443e-05/0.8839, allocations: 0 / 0.9597 GB, free: 8.828 MB / 0.7325 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.005971/0.8898, allocations: 3.105 MB / 0.9627 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.8899, allocations: 8.031 kB / 0.9627 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004514/0.8944, allocations: 0.7944 MB / 0.9635 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004857/0.8993, allocations: 2.472 MB / 0.9659 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.8994, allocations: 145.5 kB / 0.9661 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/0.8996, allocations: 112 kB / 0.9662 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003995/0.9036, allocations: 2.241 MB / 0.9684 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/0.9036, allocations: 3.938 kB / 0.9684 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.9038, allocations: 48 kB / 0.9684 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.274e-05/0.9038, allocations: 38.08 kB / 0.9685 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004931/0.9088, allocations: 2.616 MB / 0.971 GB, free: 12.97 MB / 0.7481 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.01225/0.921, allocations: 6.604 MB / 0.9775 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00415/0.9252, allocations: 2.002 MB / 0.9794 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/0.9271, allocations: 0.9516 MB / 0.9803 GB, free: 3.273 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007449/0.9278, allocations: 172.5 kB / 0.9805 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002199/0.93, allocations: 1.182 MB / 0.9817 GB, free: 1.859 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=91): time 3.646e-06/0.93, allocations: 0 / 0.9817 GB, free: 1.859 MB / 0.7481 GB Notification: Performance of matching and sorting (n=91): time 0.0233/0.9533, allocations: 5.736 MB / 0.9873 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000182/0.9535, allocations: 145.2 kB / 0.9874 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006565/0.9601, allocations: 3.718 MB / 0.991 GB, free: 8.152 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002751/0.9604, allocations: 45.7 kB / 0.9911 GB, free: 8.102 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.9614, allocations: 1.026 MB / 0.9921 GB, free: 7.066 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003916/0.9618, allocations: 321.3 kB / 0.9924 GB, free: 6.75 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003959/0.9622, allocations: 218.5 kB / 0.9926 GB, free: 6.531 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.9623, allocations: 345.9 kB / 0.9929 GB, free: 6.188 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/0.9644, allocations: 1.157 MB / 0.9941 GB, free: 5.02 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002375/0.9667, allocations: 1.592 MB / 0.9956 GB, free: 3.285 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003796/0.9705, allocations: 2.179 MB / 0.9977 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.9706, allocations: 4 kB / 0.9977 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.008442/0.979, allocations: 3.719 MB / 1.001 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.473e-05/0.9791, allocations: 75.39 kB / 1.001 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.9791, allocations: 4 kB / 1.001 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00458/0.9837, allocations: 1.922 MB / 1.003 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.9847, allocations: 179.8 kB / 1.003 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009238/0.9939, allocations: 6.369 MB / 1.01 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/0.9961, allocations: 192.4 kB / 1.01 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/0.9963, allocations: 51.98 kB / 1.01 GB, free: 4.188 MB / 0.7794 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.00115/0.9974, allocations: 0.664 MB / 1.011 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005312/0.9979, allocations: 234.5 kB / 1.011 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007986/1.006, allocations: 3.225 MB / 1.014 GB, free: 8 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-05/1.006, allocations: 15.98 kB / 1.014 GB, free: 15.99 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.006, allocations: 8 kB / 1.014 GB, free: 15.98 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/1.006, allocations: 3.984 kB / 1.014 GB, free: 15.98 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/1.018, allocations: 5.165 MB / 1.019 GB, free: 10.71 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/1.018, allocations: 7.938 kB / 1.019 GB, free: 10.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006739/1.019, allocations: 100.2 kB / 1.019 GB, free: 10.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004446/1.023, allocations: 1.908 MB / 1.021 GB, free: 8.68 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/1.024, allocations: 31.97 kB / 1.021 GB, free: 8.648 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008918/1.032, allocations: 6.313 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.032, allocations: 3.938 kB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00815/1.041, allocations: 3.302 MB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/1.042, allocations: 422.1 kB / 1.031 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005531/1.043, allocations: 24 kB / 1.031 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/1.044, allocations: 120.6 kB / 1.031 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/1.044, allocations: 76.5 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/1.044, allocations: 44.16 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003685/1.048, allocations: 2.721 MB / 1.034 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/1.048, allocations: 4 kB / 1.034 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002122/1.05, allocations: 0.7331 MB / 1.034 GB, free: 10.53 MB / 0.8106 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.001028/1.051, allocations: 0.491 MB / 1.035 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.005398/1.057, allocations: 2.661 MB / 1.038 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/1.057, allocations: 8 kB / 1.038 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00275/1.059, allocations: 1.394 MB / 1.039 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/1.063, allocations: 0.799 MB / 1.04 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009311/1.073, allocations: 4.599 MB / 1.044 GB, free: 384 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/1.074, allocations: 1.017 MB / 1.045 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000574/1.074, allocations: 131.4 kB / 1.045 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of SimCode: time 1.002e-06/1.074, allocations: 3.938 kB / 1.045 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of Templates: time 0.4678/1.542, allocations: 69.91 MB / 1.114 GB, free: 305.4 MB / 0.8575 GB " [Timeout remaining time 658] 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.866007728967816] Failed to read output from testmodel.py, exit status != 0: 1.5508824088610709 1.562613925 0.675932375 Calling exit ...