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.001351/0.001351, allocations: 92.11 kB / 20.43 MB, free: 4.145 MB / 18.57 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.001075/0.001075, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 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 0.9373/0.9373, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.6328/0.6328, allocations: 115 MB / 375.7 MB, free: 7.676 MB / 346.7 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: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.524e-05, allocations: 5.703 kB / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002214/0.002239, allocations: 1.673 MB / 483.2 MB, free: 10.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008556/0.003095, allocations: 0.6734 MB / 483.9 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.126e-05/0.003166, allocations: 4.875 kB / 483.9 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.003323, allocations: 18.8 kB / 483.9 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.003534, allocations: 49.81 kB / 483.9 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.003891, allocations: 118.1 kB / 484 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.004113, allocations: 190.5 kB / 484.2 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.004222, allocations: 16.88 kB / 484.2 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.00445, allocations: 129.8 kB / 484.4 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.004554, allocations: 69.06 kB / 484.4 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.451e-05/0.004588, allocations: 12.59 kB / 484.4 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.479e-05/0.004663, allocations: 27.41 kB / 484.5 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.094e-05/0.004744, allocations: 31.47 kB / 484.5 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.305e-05/0.004817, allocations: 59.31 kB / 484.6 MB, free: 9.992 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.005038, allocations: 156 kB / 484.7 MB, free: 9.922 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.00504, allocations: 0 / 484.7 MB, free: 9.922 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.00504, allocations: 0 / 484.7 MB, free: 9.922 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.005045, allocations: 1.281 kB / 484.7 MB, free: 9.922 MB / 410.7 MB 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.000508/0.005553, allocations: 0.5786 MB / 485.3 MB, free: 9.363 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.005591, allocations: 9.406 kB / 485.3 MB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.00576, allocations: 34.64 kB / 485.3 MB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.005988, allocations: 185.5 kB / 485.5 MB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.006004, allocations: 7.281 kB / 485.5 MB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.006028, allocations: 16.75 kB / 485.5 MB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.006228, allocations: 168.1 kB / 485.7 MB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.006237, allocations: 192 / 485.7 MB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.006252, allocations: 7.406 kB / 485.7 MB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.006261, allocations: 2.562 kB / 485.7 MB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.688e-05/0.006348, allocations: 89.48 kB / 485.8 MB, free: 8.992 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006081/0.006956, allocations: 396.1 kB / 486.2 MB, free: 24.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.007063, allocations: 120.6 kB / 486.3 MB, free: 24.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.767e-05/0.007141, allocations: 109 kB / 486.4 MB, free: 24.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.007167, allocations: 6.25 kB / 486.4 MB, free: 24.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.007306, allocations: 224.2 kB / 486.6 MB, free: 24.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.007307, allocations: 1.531 kB / 486.6 MB, free: 24.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004316/0.007739, allocations: 415.4 kB / 487 MB, free: 24.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.007789, allocations: 166.7 kB / 487.2 MB, free: 23.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.007921, allocations: 233.2 kB / 487.4 MB, free: 23.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.007936, allocations: 34.86 kB / 487.5 MB, free: 23.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.008, allocations: 152.8 kB / 487.6 MB, free: 23.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.008021, allocations: 30.58 kB / 487.6 MB, free: 23.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.008072, allocations: 44.22 kB / 487.7 MB, free: 23.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.00819, allocations: 0.4996 MB / 488.2 MB, free: 22.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-05/0.008277, allocations: 139.2 kB / 488.3 MB, free: 22.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.008385, allocations: 216.7 kB / 488.5 MB, free: 22.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.008535, allocations: 295.5 kB / 488.8 MB, free: 22.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.008538, allocations: 0.6875 kB / 488.8 MB, free: 22.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003147/0.008852, allocations: 434.2 kB / 489.3 MB, free: 21.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.199e-05/0.008904, allocations: 115.8 kB / 489.4 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.008911, allocations: 2.484 kB / 489.4 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.008927, allocations: 4.125 kB / 489.4 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.568e-05/0.009013, allocations: 12.22 kB / 489.4 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.009021, allocations: 13.66 kB / 489.4 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.324e-05/0.009075, allocations: 19.36 kB / 489.4 MB, free: 21.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.00909, allocations: 9.594 kB / 489.4 MB, free: 21.74 MB / 426.7 MB 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.0001089/0.009199, allocations: 234 kB / 489.7 MB, free: 21.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.009231, allocations: 31.64 kB / 489.7 MB, free: 21.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.009269, allocations: 17.22 kB / 489.7 MB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.009272, allocations: 1.5 kB / 489.7 MB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.009276, allocations: 2.656 kB / 489.7 MB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.009279, allocations: 0 / 489.7 MB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.00971, allocations: 0.5885 MB / 490.3 MB, free: 21.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.009712, allocations: 0 / 490.3 MB, free: 21.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.734e-05/0.009749, allocations: 14.5 kB / 490.3 MB, free: 21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.009752, allocations: 1.094 kB / 490.3 MB, free: 21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.009766, allocations: 8.672 kB / 490.3 MB, free: 21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.009767, allocations: 1.469 kB / 490.3 MB, free: 21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.009769, allocations: 1.188 kB / 490.3 MB, free: 21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.01009, allocations: 484.9 kB / 490.8 MB, free: 20.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.417e-05/0.0101, allocations: 12.25 kB / 490.8 MB, free: 20.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.01013, allocations: 5.562 kB / 490.8 MB, free: 20.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.337e-05/0.01018, allocations: 9.062 kB / 490.8 MB, free: 20.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.01023, allocations: 10.2 kB / 490.8 MB, free: 20.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.01024, allocations: 14.22 kB / 490.8 MB, free: 20.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.655e-05/0.01032, allocations: 166.4 kB / 491 MB, free: 20.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01032, allocations: 0 / 491 MB, free: 20.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002031/0.01052, allocations: 31.03 kB / 491 MB, free: 20.5 MB / 426.7 MB 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.0001805/0.0107, allocations: 125.4 kB / 491.2 MB, free: 20.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003139/0.01102, allocations: 494.9 kB / 491.6 MB, free: 19.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01102, allocations: 0 / 491.6 MB, free: 19.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.01114, allocations: 234.6 kB / 491.9 MB, free: 19.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.01138, allocations: 35.25 kB / 491.9 MB, free: 19.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006844/0.01206, allocations: 338.6 kB / 492.2 MB, free: 19.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.014e-05/0.0121, allocations: 75.97 kB / 492.3 MB, free: 19.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.65e-05/0.01215, allocations: 19.56 kB / 492.3 MB, free: 19.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.01218, allocations: 18.66 kB / 492.3 MB, free: 19.36 MB / 426.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01219, allocations: 0.875 kB / 492.4 MB, free: 19.36 MB / 426.7 MB Notification: Performance of Templates: time 0.004162/0.01635, allocations: 2.199 MB / 494.5 MB, free: 19.13 MB / 426.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.802981195040047]