Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.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.001697/0.001697, allocations: 105 kB / 20.44 MB, free: 1.504 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.002218/0.002218, allocations: 209.9 kB / 23.76 MB, free: 4.727 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.563/1.563, allocations: 230.6 MB / 257.5 MB, free: 8 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.039/1.039, allocations: 150 MB / 463.9 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 178] 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.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") [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.002325/0.002325, allocations: 74.31 kB / 0.6425 GB, free: 9.875 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2125, allocations: 89.16 MB / 0.7296 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.5172/0.7297, allocations: 54.9 MB / 0.7832 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03/0.7597, allocations: 17.25 MB / 0.8 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004719/0.7644, allocations: 122.2 kB / 0.8002 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.007437/0.7718, allocations: 2.032 MB / 0.8021 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.7823, allocations: 2.681 MB / 0.8048 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008595/0.7909, allocations: 2.48 MB / 0.8072 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01579/0.8067, allocations: 7.487 MB / 0.8145 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003957/0.8107, allocations: 1.364 MB / 0.8158 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00727/0.8179, allocations: 2.148 MB / 0.8179 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003997/0.8219, allocations: 1.468 MB / 0.8194 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001/0.8229, allocations: 176.6 kB / 0.8195 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007001/0.8299, allocations: 2.138 MB / 0.8216 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001486/0.8314, allocations: 0.6807 MB / 0.8223 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003759/0.8352, allocations: 1.217 MB / 0.8235 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.8465, allocations: 3.991 MB / 0.8274 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.8465, allocations: 0 / 0.8274 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.355e-06/0.8465, allocations: 1.125 kB / 0.8274 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001755/0.8467, allocations: 0 / 0.8274 GB, free: 14.68 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.01014/0.8569, allocations: 2.959 MB / 0.8303 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.8569, allocations: 10.44 kB / 0.8303 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02693/0.8838, allocations: 4.348 MB / 0.8345 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007603/0.8914, allocations: 2.709 MB / 0.8372 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.8916, allocations: 101.5 kB / 0.8373 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004815/0.8921, allocations: 114.9 kB / 0.8374 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.9039, allocations: 2.776 MB / 0.8401 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.624e-05/0.904, allocations: 7.938 kB / 0.8401 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002896/0.9043, allocations: 46.91 kB / 0.8401 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-05/0.9043, allocations: 36 kB / 0.8402 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01828/0.9226, allocations: 3.797 MB / 0.8439 GB, free: 2.191 MB / 0.6075 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.0338/0.9564, allocations: 12 MB / 0.8556 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009985/0.9664, allocations: 2.276 MB / 0.8578 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008492/0.9749, allocations: 1.79 MB / 0.8596 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008655/0.9835, allocations: 3.933 MB / 0.8634 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008794/0.9923, allocations: 1.875 MB / 0.8652 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 4.118e-06/0.9923, allocations: 0 / 0.8652 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.02605/1.018, allocations: 5.203 MB / 0.8703 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.374e-05/1.018, allocations: 63.91 kB / 0.8704 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004741/1.023, allocations: 2.133 MB / 0.8725 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003166/1.023, allocations: 37.7 kB / 0.8725 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00142/1.025, allocations: 1.036 MB / 0.8735 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000472/1.025, allocations: 214.2 kB / 0.8737 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/1.026, allocations: 326.7 kB / 0.874 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.027, allocations: 305.1 kB / 0.8743 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009135/1.036, allocations: 1.95 MB / 0.8762 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009664/1.045, allocations: 2.385 MB / 0.8785 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01654/1.062, allocations: 3.865 MB / 0.8823 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.546e-05/1.062, allocations: 7.812 kB / 0.8823 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.01871/1.081, allocations: 4.394 MB / 0.8866 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.117e-05/1.081, allocations: 37.69 kB / 0.8867 GB, free: 4.309 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-05/1.081, allocations: 14.91 kB / 0.8867 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.671e-05/1.081, allocations: 20.69 kB / 0.8867 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005227/1.086, allocations: 0.9285 MB / 0.8876 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.601e-05/1.086, allocations: 27.92 kB / 0.8876 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005918/1.092, allocations: 0.8067 MB / 0.8884 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003302/1.092, allocations: 75.95 kB / 0.8885 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009864/1.102, allocations: 2.365 MB / 0.8908 GB, free: 64 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009332/1.111, allocations: 2.393 MB / 0.8931 GB, free: 13.49 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01648/1.128, allocations: 3.853 MB / 0.8969 GB, free: 9.465 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.213e-05/1.128, allocations: 8 kB / 0.8969 GB, free: 9.457 MB / 0.67 GB Notification: Performance of matching and sorting (n=185) (initialization_lambda0): time 0.01914/1.147, allocations: 4.396 MB / 0.9012 GB, free: 5.039 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.32e-05/1.147, allocations: 36.23 kB / 0.9012 GB, free: 5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/1.147, allocations: 12 kB / 0.9012 GB, free: 4.988 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/1.147, allocations: 23.94 kB / 0.9013 GB, free: 4.965 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005641/1.153, allocations: 0.9328 MB / 0.9022 GB, free: 4.031 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.224e-05/1.153, allocations: 27.92 kB / 0.9022 GB, free: 4.004 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006082/1.159, allocations: 0.7726 MB / 0.903 GB, free: 3.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003331/1.159, allocations: 71.97 kB / 0.903 GB, free: 3.16 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 148 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006414/1.16, allocations: 271.7 kB / 0.9033 GB, free: 2.887 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009469/1.161, allocations: 206.6 kB / 0.9035 GB, free: 2.684 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01783/1.179, allocations: 3.825 MB / 0.9072 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.932e-05/1.179, allocations: 11.98 kB / 0.9072 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/1.179, allocations: 0 / 0.9072 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01678/1.196, allocations: 3.59 MB / 0.9107 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02297/1.219, allocations: 6.067 MB / 0.9167 GB, free: 4.895 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/1.219, allocations: 3.938 kB / 0.9167 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004852/1.223, allocations: 0.7726 MB / 0.9174 GB, free: 4.117 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002506/1.224, allocations: 33.39 kB / 0.9174 GB, free: 4.082 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001648/1.224, allocations: 23.97 kB / 0.9175 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/1.225, allocations: 1.376 MB / 0.9188 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/1.225, allocations: 4 kB / 0.9188 GB, free: 2.562 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02641/1.252, allocations: 5.736 MB / 0.9244 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001867/1.254, allocations: 394.2 kB / 0.9248 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008697/1.255, allocations: 12 kB / 0.9248 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005612/1.26, allocations: 0.6984 MB / 0.9255 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/1.26, allocations: 52.56 kB / 0.9255 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/1.261, allocations: 39.89 kB / 0.9256 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003568/1.264, allocations: 1.481 MB / 0.927 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/1.264, allocations: 0 / 0.927 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.005252/1.269, allocations: 1.088 MB / 0.9281 GB, free: 9.027 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (vol.dynBal.U,mov.motSpe.y,conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00318/1.273, allocations: 0.8373 MB / 0.9289 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.02759/1.3, allocations: 6.164 MB / 0.9349 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.423e-06/1.3, allocations: 3.938 kB / 0.9349 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.009209/1.309, allocations: 1.927 MB / 0.9368 GB, free: 208 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006524/1.316, allocations: 0.9754 MB / 0.9378 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/1.333, allocations: 5.185 MB / 0.9428 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001895/1.335, allocations: 1.538 MB / 0.9443 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/1.336, allocations: 195.3 kB / 0.9445 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of SimCode: time 1.002e-06/1.336, allocations: 3.938 kB / 0.9445 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of Templates: time 0.07756/1.414, allocations: 44.11 MB / 0.9876 GB, free: 12.34 MB / 0.7637 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 18.895725165959448] Failed to read output from testmodel.py, exit status != 0: 1.4256781819276512 1.442339174 0.5920683990000001 Calling exit ...