Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.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.001379/0.001379, 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.001465/0.001465, allocations: 212.7 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.797 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/1, allocations: 149.9 MB / 463 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.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") [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.002292/0.002292, allocations: 70.73 kB / 0.6415 GB, free: 9.617 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2325, allocations: 89.18 MB / 0.7286 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.003332/0.2358, allocations: 1.615 MB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.237, allocations: 0.639 MB / 0.7308 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.888e-05/0.2371, allocations: 4 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.2373, allocations: 23.78 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.2375, allocations: 47.75 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.238, allocations: 131.7 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000285/0.2383, allocations: 183.6 kB / 0.7312 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2384, allocations: 17.62 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.2386, allocations: 99.73 kB / 0.7313 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.2387, allocations: 79.66 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.2388, allocations: 16 kB / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.703e-05/0.2389, allocations: 28 kB / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.626e-05/0.239, allocations: 31.91 kB / 0.7315 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.345e-05/0.239, allocations: 67.7 kB / 0.7315 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.2393, allocations: 183.3 kB / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2393, allocations: 0 / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2393, allocations: 0 / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.2393, allocations: 0 / 0.7317 GB, free: 13.34 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007593/0.2401, allocations: 496.4 kB / 0.7322 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2401, allocations: 8.031 kB / 0.7322 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.2403, allocations: 28.83 kB / 0.7322 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.2407, allocations: 190.4 kB / 0.7324 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.2407, allocations: 8.375 kB / 0.7324 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.2408, allocations: 16.38 kB / 0.7324 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.2411, allocations: 173.1 kB / 0.7326 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2411, allocations: 0 / 0.7326 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.2411, allocations: 4 kB / 0.7326 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.2411, allocations: 0 / 0.7326 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/0.2413, allocations: 131.3 kB / 0.7327 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/0.242, allocations: 348.2 kB / 0.733 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.2422, allocations: 141.9 kB / 0.7332 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.2424, allocations: 124.2 kB / 0.7333 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.2424, allocations: 4 kB / 0.7333 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003011/0.2427, allocations: 238.2 kB / 0.7335 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/0.2427, allocations: 0 / 0.7335 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0008186/0.2436, allocations: 483.6 kB / 0.734 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.2437, allocations: 170.1 kB / 0.7341 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.2438, allocations: 171.6 kB / 0.7343 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.2439, allocations: 37.69 kB / 0.7343 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.077e-05/0.244, allocations: 104.5 kB / 0.7344 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.244, allocations: 35.72 kB / 0.7345 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.2441, allocations: 41.7 kB / 0.7345 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.2442, allocations: 330.8 kB / 0.7348 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.2444, allocations: 158.8 kB / 0.735 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.2447, allocations: 224.8 kB / 0.7352 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.245, allocations: 312.9 kB / 0.7355 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.245, allocations: 4 kB / 0.7355 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006241/0.2457, allocations: 458.9 kB / 0.7359 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-05/0.2457, allocations: 122.7 kB / 0.7361 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2457, allocations: 4 kB / 0.7361 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.2458, allocations: 0 / 0.7361 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.2459, allocations: 16.23 kB / 0.7361 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2459, allocations: 8 kB / 0.7361 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.385e-05/0.246, allocations: 11.98 kB / 0.7361 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.246, allocations: 12 kB / 0.7361 GB, free: 8.277 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.0001772/0.2462, allocations: 203 kB / 0.7363 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.2462, allocations: 15.91 kB / 0.7363 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.766e-05/0.2463, allocations: 17.39 kB / 0.7363 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2463, allocations: 4 kB / 0.7363 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2463, allocations: 0 / 0.7363 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2463, allocations: 0 / 0.7363 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007646/0.247, allocations: 0.5827 MB / 0.7369 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.247, allocations: 4 kB / 0.7369 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-05/0.2471, allocations: 8 kB / 0.7369 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2471, allocations: 0 / 0.7369 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.2471, allocations: 15.98 kB / 0.7369 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2471, allocations: 0 / 0.7369 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2471, allocations: 288 / 0.7369 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006184/0.2477, allocations: 477.9 kB / 0.7374 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.2478, allocations: 15.91 kB / 0.7374 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.2478, allocations: 4 kB / 0.7374 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.2479, allocations: 11.98 kB / 0.7374 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/0.248, allocations: 11.94 kB / 0.7374 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.248, allocations: 7.984 kB / 0.7374 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001082/0.2481, allocations: 128.1 kB / 0.7376 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2481, allocations: 0 / 0.7376 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000299/0.2484, allocations: 47.86 kB / 0.7376 GB, free: 6.613 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: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0002337/0.2486, allocations: 120.5 kB / 0.7377 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006275/0.2493, allocations: 0.5152 MB / 0.7382 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2493, allocations: 0 / 0.7382 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.2495, allocations: 242.6 kB / 0.7385 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.2498, allocations: 33.19 kB / 0.7385 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006571/0.2505, allocations: 351.3 kB / 0.7388 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.845e-05/0.2506, allocations: 93.17 kB / 0.7389 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.155e-05/0.2507, allocations: 20.47 kB / 0.7389 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.2507, allocations: 19.44 kB / 0.739 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.2507, allocations: 0 / 0.739 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of Templates: time 0.006136/0.2568, allocations: 2.245 MB / 0.7411 GB, free: 2.859 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.956903433427215] Failed to read output from testmodel.py, exit status != 0: 0.2666072640568018 0.28029145699999997 0.03795305699999994 Calling exit ...