Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.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.001417/0.001417, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001671/0.001671, allocations: 208.3 kB / 22.99 MB, free: 4.605 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.781 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 0.978/0.978, allocations: 149.9 MB / 463 MB, free: 10.36 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.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") [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.00212/0.00212, allocations: 68 kB / 0.6416 GB, free: 9.625 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.222, allocations: 89.17 MB / 0.7286 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6978/0.9198, allocations: 160.6 MB / 0.8855 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007647/0.9274, allocations: 4.15 MB / 0.8896 GB, free: 56 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000749/0.9282, allocations: 27.75 kB / 0.8896 GB, free: 28 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009101/0.9291, allocations: 258.2 kB / 0.8898 GB, free: 15.77 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002625/0.9317, allocations: 0.762 MB / 0.8906 GB, free: 15 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004806/0.9365, allocations: 1.544 MB / 0.8921 GB, free: 13.46 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002046/0.9386, allocations: 1.258 MB / 0.8933 GB, free: 12.2 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008883/0.9395, allocations: 361.4 kB / 0.8937 GB, free: 11.85 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002374/0.9418, allocations: 0.8331 MB / 0.8945 GB, free: 11.01 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008634/0.9427, allocations: 394.3 kB / 0.8949 GB, free: 10.62 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.9429, allocations: 48 kB / 0.8949 GB, free: 10.58 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002969/0.9458, allocations: 1.246 MB / 0.8961 GB, free: 9.328 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003441/0.9462, allocations: 187.4 kB / 0.8963 GB, free: 9.145 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005461/0.9467, allocations: 258.8 kB / 0.8966 GB, free: 8.891 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003213/0.9499, allocations: 1.257 MB / 0.8978 GB, free: 7.633 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.9499, allocations: 0 / 0.8978 GB, free: 7.633 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9499, allocations: 0 / 0.8978 GB, free: 7.633 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.12e-05/0.95, allocations: 4 kB / 0.8978 GB, free: 7.629 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002236/0.9522, allocations: 0.9681 MB / 0.8987 GB, free: 6.617 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.9523, allocations: 12.03 kB / 0.8987 GB, free: 6.605 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/0.9544, allocations: 291.8 kB / 0.899 GB, free: 6.32 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.9554, allocations: 398.7 kB / 0.8994 GB, free: 5.906 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.9555, allocations: 36.98 kB / 0.8994 GB, free: 5.871 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.814e-05/0.9556, allocations: 40 kB / 0.8995 GB, free: 5.832 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.9568, allocations: 0.5507 MB / 0.9 GB, free: 5.246 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.9568, allocations: 0 / 0.9 GB, free: 5.246 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.273e-05/0.9568, allocations: 23.92 kB / 0.9 GB, free: 5.223 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.9568, allocations: 13.25 kB / 0.9 GB, free: 5.211 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.958, allocations: 459.6 kB / 0.9005 GB, free: 4.762 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002926/0.9609, allocations: 1.683 MB / 0.9021 GB, free: 3.016 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.962, allocations: 383.4 kB / 0.9025 GB, free: 2.633 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005248/0.9625, allocations: 224.5 kB / 0.9027 GB, free: 2.414 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005649/0.9631, allocations: 95.77 kB / 0.9028 GB, free: 2.32 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006739/0.9638, allocations: 302.8 kB / 0.9031 GB, free: 2.012 MB / 0.67 GB Notification: Performance of pre-optimization done (n=37): time 2.485e-06/0.9638, allocations: 0 / 0.9031 GB, free: 2.012 MB / 0.67 GB Notification: Performance of matching and sorting (n=37): time 0.00199/0.9657, allocations: 0.6738 MB / 0.9037 GB, free: 1.332 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.9658, allocations: 55.41 kB / 0.9038 GB, free: 1.266 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005707/0.9664, allocations: 389.9 kB / 0.9042 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.04e-05/0.9664, allocations: 33.7 kB / 0.9042 GB, free: 0.832 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.9667, allocations: 276.4 kB / 0.9045 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.9669, allocations: 134.9 kB / 0.9046 GB, free: 436 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.9671, allocations: 86.12 kB / 0.9047 GB, free: 344 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002621/0.9673, allocations: 362.7 kB / 0.905 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005828/0.9679, allocations: 252.2 kB / 0.9053 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007539/0.9687, allocations: 499.6 kB / 0.9057 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.9698, allocations: 0.5487 MB / 0.9063 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.9698, allocations: 7.875 kB / 0.9063 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001474/0.9713, allocations: 0.6949 MB / 0.907 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.665e-05/0.9714, allocations: 67.39 kB / 0.907 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.9714, allocations: 4.5 kB / 0.907 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.9714, allocations: 4 kB / 0.907 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.9719, allocations: 99.81 kB / 0.9071 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.9719, allocations: 4 kB / 0.9071 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.9724, allocations: 68.69 kB / 0.9072 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.416e-05/0.9725, allocations: 24 kB / 0.9072 GB, free: 13.54 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0003187/0.9728, allocations: 198.5 kB / 0.9074 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-05/0.9729, allocations: 47.72 kB / 0.9075 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.9742, allocations: 0.5345 MB / 0.908 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.9743, allocations: 4 kB / 0.908 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.9743, allocations: 0 / 0.908 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.9743, allocations: 3.984 kB / 0.908 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/0.9768, allocations: 1.216 MB / 0.9092 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.9768, allocations: 0 / 0.9092 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004269/0.9772, allocations: 84.27 kB / 0.9093 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.9772, allocations: 7.938 kB / 0.9093 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.9773, allocations: 15.98 kB / 0.9093 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/0.9773, allocations: 4 kB / 0.9093 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.9773, allocations: 4 kB / 0.9093 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.9791, allocations: 0.9253 MB / 0.9102 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.9794, allocations: 95.47 kB / 0.9103 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.224e-05/0.9795, allocations: 12 kB / 0.9103 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/0.9799, allocations: 39.95 kB / 0.9103 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.98, allocations: 47.8 kB / 0.9104 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.9801, allocations: 19.98 kB / 0.9104 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003594/0.9804, allocations: 263.2 kB / 0.9106 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.9804, allocations: 0 / 0.9106 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006928/0.9811, allocations: 163.7 kB / 0.9108 GB, free: 9.715 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003928/0.9815, allocations: 188.7 kB / 0.911 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.9829, allocations: 0.6265 MB / 0.9116 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9829, allocations: 0 / 0.9116 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006931/0.9836, allocations: 281.1 kB / 0.9119 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.9847, allocations: 200.4 kB / 0.912 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.9867, allocations: 1.037 MB / 0.9131 GB, free: 7.301 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.987, allocations: 274 kB / 0.9133 GB, free: 7.012 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004041/0.9874, allocations: 112.1 kB / 0.9134 GB, free: 6.898 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.9876, allocations: 39.44 kB / 0.9135 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of SimCode: time 5.91e-07/0.9876, allocations: 0 / 0.9135 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of Templates: time 0.0186/1.006, allocations: 9.879 MB / 0.9231 GB, free: 13.21 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.210656216368079] Failed to read output from testmodel.py, exit status != 0: 1.0154992043972015 1.031050282 0.077620539 Calling exit ...