Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.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.001654/0.001654, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.001473/0.001473, allocations: 219.6 kB / 23 MB, free: 5.004 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.577/1.577, allocations: 230.6 MB / 256.8 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.007/1.007, allocations: 150 MB / 463.1 MB, free: 10.54 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.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter") [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.0021/0.0021, allocations: 72.11 kB / 0.6417 GB, free: 9.969 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1986, allocations: 89.16 MB / 0.7288 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003818/0.2024, allocations: 1.673 MB / 0.7304 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.2037, allocations: 0.6311 MB / 0.731 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.2039, allocations: 3.938 kB / 0.731 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.2041, allocations: 27.77 kB / 0.7311 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003534/0.2044, allocations: 67.28 kB / 0.7311 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.2047, allocations: 79.84 kB / 0.7312 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.205, allocations: 135.5 kB / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.2052, allocations: 29.67 kB / 0.7314 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.2054, allocations: 67.7 kB / 0.7314 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.2055, allocations: 71.69 kB / 0.7315 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.2056, allocations: 8 kB / 0.7315 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.724e-05/0.2057, allocations: 27.98 kB / 0.7315 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.2058, allocations: 47.83 kB / 0.7316 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.669e-05/0.2059, allocations: 55.61 kB / 0.7316 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.2062, allocations: 155.2 kB / 0.7318 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2062, allocations: 0 / 0.7318 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2062, allocations: 0 / 0.7318 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.2062, allocations: 0 / 0.7318 GB, free: 13.77 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007235/0.2069, allocations: 405.3 kB / 0.7322 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.207, allocations: 12.03 kB / 0.7322 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.2071, allocations: 28.83 kB / 0.7322 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.2076, allocations: 190 kB / 0.7324 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.2076, allocations: 4.375 kB / 0.7324 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.2076, allocations: 8.375 kB / 0.7324 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.2079, allocations: 117.9 kB / 0.7325 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.2079, allocations: 0 / 0.7325 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.2079, allocations: 4 kB / 0.7325 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.208, allocations: 4 kB / 0.7325 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.2082, allocations: 63.5 kB / 0.7326 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006895/0.2089, allocations: 351.7 kB / 0.7329 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.209, allocations: 42.48 kB / 0.733 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.2091, allocations: 28.89 kB / 0.733 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.2092, allocations: 3.938 kB / 0.733 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/0.2094, allocations: 109.1 kB / 0.7331 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2094, allocations: 0 / 0.7331 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004633/0.2099, allocations: 117.4 kB / 0.7332 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.21, allocations: 85.11 kB / 0.7333 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.2103, allocations: 260.9 kB / 0.7335 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.2103, allocations: 25.7 kB / 0.7336 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.2104, allocations: 128.1 kB / 0.7337 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.2104, allocations: 3.953 kB / 0.7337 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.2105, allocations: 17.72 kB / 0.7337 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.2106, allocations: 330.8 kB / 0.734 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.2107, allocations: 23.98 kB / 0.734 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.2109, allocations: 47.41 kB / 0.7341 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.2111, allocations: 74.48 kB / 0.7342 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2111, allocations: 0 / 0.7342 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002978/0.2114, allocations: 105.4 kB / 0.7343 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2114, allocations: 8 kB / 0.7343 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.2114, allocations: 0 / 0.7343 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.2114, allocations: 3.938 kB / 0.7343 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.2115, allocations: 16.08 kB / 0.7343 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.2115, allocations: 0 / 0.7343 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.974e-05/0.2116, allocations: 15.92 kB / 0.7343 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.2116, allocations: 4 kB / 0.7343 GB, free: 10.97 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001541/0.2118, allocations: 131.7 kB / 0.7344 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.2118, allocations: 19.86 kB / 0.7344 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.2119, allocations: 21.33 kB / 0.7345 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.2119, allocations: 7.875 kB / 0.7345 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2119, allocations: 4 kB / 0.7345 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2119, allocations: 0 / 0.7345 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.2121, allocations: 188.7 kB / 0.7347 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2121, allocations: 0 / 0.7347 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.2122, allocations: 11.98 kB / 0.7347 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2122, allocations: 0 / 0.7347 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.2122, allocations: 0 / 0.7347 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.2122, allocations: 3.938 kB / 0.7347 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2122, allocations: 4 kB / 0.7347 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.2125, allocations: 125 kB / 0.7348 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.184e-05/0.2126, allocations: 11.91 kB / 0.7348 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.2126, allocations: 4 kB / 0.7348 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.2127, allocations: 16.25 kB / 0.7348 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.2127, allocations: 7.938 kB / 0.7348 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.2128, allocations: 7.984 kB / 0.7348 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002053/0.213, allocations: 200.4 kB / 0.735 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.213, allocations: 0 / 0.735 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002363/0.2132, allocations: 19.95 kB / 0.7351 GB, free: 10.14 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002624/0.2135, allocations: 114 kB / 0.7352 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00031/0.2138, allocations: 59.94 kB / 0.7352 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2138, allocations: 0 / 0.7352 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.2139, allocations: 31.91 kB / 0.7352 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.2142, allocations: 43.09 kB / 0.7353 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006815/0.2149, allocations: 288.8 kB / 0.7356 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004895/0.2154, allocations: 0.7158 MB / 0.7363 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.2155, allocations: 20.47 kB / 0.7363 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.2156, allocations: 15.42 kB / 0.7363 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.2156, allocations: 4 kB / 0.7363 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of Templates: time 0.006213/0.2218, allocations: 1.781 MB / 0.738 GB, free: 7.043 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.246930523309857] Failed to read output from testmodel.py, exit status != 0: 0.23129600565880537 0.247271223 0.037835536 Calling exit ...