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.00147/0.00147, allocations: 121.3 kB / 17.81 MB, free: 5.273 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.001489/0.001489, allocations: 193.4 kB / 20.74 MB, free: 2.344 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.355/1.355, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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.7848/0.7848, allocations: 128.4 MB / 432.4 MB, free: 13.29 MB / 350.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.001864/0.001864, allocations: 71.89 kB / 0.5987 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3823, allocations: 83.26 MB / 0.68 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.5832/0.9655, allocations: 225.6 MB / 0.9004 GB, free: 1.949 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01726/0.9828, allocations: 12.7 MB / 0.9128 GB, free: 1.766 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003668/0.9864, allocations: 66.88 kB / 0.9128 GB, free: 1.766 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003402/0.9898, allocations: 1.228 MB / 0.914 GB, free: 1.742 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008224/0.9981, allocations: 3.278 MB / 0.9172 GB, free: 1.633 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0045/1.003, allocations: 1.846 MB / 0.919 GB, free: 1.574 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005312/1.008, allocations: 4.158 MB / 0.9231 GB, free: 1.566 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/1.01, allocations: 1.176 MB / 0.9242 GB, free: 1.465 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004274/1.014, allocations: 2.152 MB / 0.9263 GB, free: 1.449 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/1.016, allocations: 1.471 MB / 0.9278 GB, free: 1.27 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002376/1.016, allocations: 180.1 kB / 0.928 GB, free: 1.27 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004762/1.021, allocations: 2.779 MB / 0.9307 GB, free: 1.242 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007771/1.021, allocations: 0.9907 MB / 0.9316 GB, free: 1.121 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/1.023, allocations: 1.326 MB / 0.9329 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006442/1.029, allocations: 4.413 MB / 0.9372 GB, free: 136 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/1.029, allocations: 0 / 0.9372 GB, free: 136 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.092e-06/1.029, allocations: 1.094 kB / 0.9372 GB, free: 136 kB / 0.67 GB Notification: Performance of Transformations before backend: time 3.517e-05/1.029, allocations: 0 / 0.9372 GB, free: 136 kB / 0.67 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.005077/1.034, allocations: 3.166 MB / 0.9403 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/1.034, allocations: 12.22 kB / 0.9403 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004149/1.038, allocations: 0.8056 MB / 0.9411 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003577/1.042, allocations: 2.532 MB / 0.9436 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/1.042, allocations: 119.3 kB / 0.9437 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/1.042, allocations: 108.3 kB / 0.9438 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003145/1.045, allocations: 2.06 MB / 0.9458 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/1.045, allocations: 5.562 kB / 0.9458 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/1.046, allocations: 44.81 kB / 0.9459 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.233e-05/1.046, allocations: 44.39 kB / 0.9459 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004237/1.05, allocations: 2.567 MB / 0.9484 GB, free: 12.69 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.01137/1.061, allocations: 8.15 MB / 0.9564 GB, free: 6.895 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003651/1.065, allocations: 2.093 MB / 0.9584 GB, free: 5.859 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/1.067, allocations: 0.8912 MB / 0.9593 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/1.068, allocations: 1.066 MB / 0.9603 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001842/1.07, allocations: 1.01 MB / 0.9613 GB, free: 3.719 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=91): time 2.444e-06/1.07, allocations: 3.094 kB / 0.9613 GB, free: 3.719 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91): time 0.02285/1.092, allocations: 5.937 MB / 0.9671 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.093, allocations: 145.2 kB / 0.9673 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005991/1.099, allocations: 3.974 MB / 0.9712 GB, free: 9.598 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002326/1.099, allocations: 49.69 kB / 0.9712 GB, free: 9.543 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/1.1, allocations: 1.022 MB / 0.9722 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003889/1.1, allocations: 313.8 kB / 0.9725 GB, free: 8.215 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000413/1.101, allocations: 218.5 kB / 0.9727 GB, free: 7.996 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.101, allocations: 341.9 kB / 0.973 GB, free: 7.656 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/1.103, allocations: 1.092 MB / 0.9741 GB, free: 6.566 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/1.105, allocations: 1.304 MB / 0.9754 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003776/1.109, allocations: 2.178 MB / 0.9775 GB, free: 2.945 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.109, allocations: 0 / 0.9775 GB, free: 2.945 MB / 0.7012 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00843/1.117, allocations: 3.667 MB / 0.9811 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.415e-05/1.117, allocations: 75.33 kB / 0.9812 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.117, allocations: 4.781 kB / 0.9812 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004416/1.122, allocations: 1.925 MB / 0.983 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009642/1.123, allocations: 181.3 kB / 0.9832 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00906/1.132, allocations: 6.636 MB / 0.9897 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/1.134, allocations: 239.7 kB / 0.9899 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/1.134, allocations: 51.98 kB / 0.99 GB, free: 5.855 MB / 0.7169 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.001104/1.135, allocations: 0.6535 MB / 0.9906 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004675/1.136, allocations: 258.4 kB / 0.9909 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007651/1.143, allocations: 3.18 MB / 0.994 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/1.143, allocations: 11.98 kB / 0.994 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.143, allocations: 3.938 kB / 0.994 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/1.143, allocations: 7.922 kB / 0.994 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/1.155, allocations: 5.557 MB / 0.9994 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/1.155, allocations: 8 kB / 0.9994 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006334/1.155, allocations: 98.47 kB / 0.9995 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00426/1.16, allocations: 1.915 MB / 1.001 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/1.16, allocations: 31.92 kB / 1.001 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008581/1.168, allocations: 6.59 MB / 1.008 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/1.168, allocations: 6.531 kB / 1.008 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00772/1.176, allocations: 3.253 MB / 1.011 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/1.177, allocations: 0.5146 MB / 1.012 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003845/1.178, allocations: 27.98 kB / 1.012 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/1.179, allocations: 115.9 kB / 1.012 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/1.179, allocations: 75.22 kB / 1.012 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/1.18, allocations: 43.95 kB / 1.012 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003891/1.183, allocations: 2.911 MB / 1.015 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/1.183, allocations: 3.938 kB / 1.015 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002182/1.186, allocations: 0.7217 MB / 1.015 GB, free: 11.37 MB / 0.7481 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.001187/1.187, allocations: 0.5085 MB / 1.016 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004932/1.192, allocations: 2.529 MB / 1.018 GB, free: 8.336 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/1.192, allocations: 0 / 1.018 GB, free: 8.336 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002536/1.194, allocations: 1.335 MB / 1.02 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004241/1.199, allocations: 1.007 MB / 1.021 GB, free: 5.965 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009394/1.208, allocations: 4.573 MB / 1.025 GB, free: 1.332 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001383/1.209, allocations: 1.59 MB / 1.027 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/1.21, allocations: 149.8 kB / 1.027 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of SimCode: time 9.42e-07/1.21, allocations: 0 / 1.027 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of Templates: time 0.08554/1.295, allocations: 71.5 MB / 1.097 GB, free: 8.336 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.015961509896442] Failed to read output from testmodel.py, exit status != 0: 1.3037763820029795 1.315478742 0.283596834 Calling exit ...