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.002502/0.002502, allocations: 93.47 kB / 20.21 MB, free: 4.211 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.002734/0.002734, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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 1.59/1.59, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 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.047/1.047, allocations: 115 MB / 375.3 MB, free: 7.57 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 1.983e-06/1.983e-06, allocations: 0 / 480.8 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.857e-05, allocations: 7.203 kB / 480.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002587/0.002616, allocations: 1.641 MB / 482.4 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.00362, allocations: 0.6681 MB / 483.1 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.943e-05/0.003689, allocations: 3.219 kB / 483.1 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.003835, allocations: 16.09 kB / 483.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.004047, allocations: 41.2 kB / 483.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.004444, allocations: 134.1 kB / 483.3 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.004672, allocations: 189.6 kB / 483.5 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.004773, allocations: 15.09 kB / 483.5 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.004998, allocations: 115.1 kB / 483.6 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.005134, allocations: 73.2 kB / 483.7 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/0.005187, allocations: 14.53 kB / 483.7 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-05/0.005276, allocations: 35.8 kB / 483.7 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.387e-05/0.00536, allocations: 29.45 kB / 483.7 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.109e-05/0.005441, allocations: 61.5 kB / 483.8 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.005696, allocations: 195.6 kB / 484 MB, free: 10.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005698, allocations: 0 / 484 MB, free: 10.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.0057, allocations: 6.125 kB / 484 MB, free: 10.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.005705, allocations: 0 / 484 MB, free: 10.02 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.0005976/0.006303, allocations: 0.5854 MB / 484.6 MB, free: 9.461 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.006338, allocations: 10.28 kB / 484.6 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.006527, allocations: 31.72 kB / 484.6 MB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.006797, allocations: 186 kB / 484.8 MB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.006816, allocations: 11.81 kB / 484.8 MB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.006844, allocations: 14.47 kB / 484.8 MB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.007103, allocations: 162.7 kB / 485 MB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.007112, allocations: 192 / 485 MB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.00713, allocations: 6.656 kB / 485 MB, free: 9.168 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.007135, allocations: 1.75 kB / 485 MB, free: 9.168 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.007314, allocations: 120 kB / 485.1 MB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/0.007863, allocations: 405.7 kB / 485.5 MB, free: 8.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.008071, allocations: 138.9 kB / 485.6 MB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.008222, allocations: 132.7 kB / 485.8 MB, free: 8.562 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.008252, allocations: 6.5 kB / 485.8 MB, free: 8.559 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.008481, allocations: 235.2 kB / 486 MB, free: 8.363 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.008482, allocations: 1.188 kB / 486 MB, free: 8.363 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007381/0.009221, allocations: 472.5 kB / 486.5 MB, free: 8.074 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.009264, allocations: 170.3 kB / 486.6 MB, free: 7.883 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.009412, allocations: 253.3 kB / 486.9 MB, free: 7.676 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.009568, allocations: 28.98 kB / 486.9 MB, free: 23.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.009686, allocations: 161.2 kB / 487.1 MB, free: 23.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.009712, allocations: 29.41 kB / 487.1 MB, free: 23.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.09e-05/0.009783, allocations: 53.38 kB / 487.1 MB, free: 23.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002613/0.01004, allocations: 0.4985 MB / 487.6 MB, free: 22.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.01022, allocations: 156.4 kB / 487.8 MB, free: 22.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.01041, allocations: 237.6 kB / 488 MB, free: 22.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.01072, allocations: 322.2 kB / 488.3 MB, free: 22.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01072, allocations: 1.719 kB / 488.3 MB, free: 22.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006266/0.01135, allocations: 462 kB / 488.8 MB, free: 21.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.556e-05/0.01143, allocations: 114.9 kB / 488.9 MB, free: 21.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.01144, allocations: 6.828 kB / 488.9 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.01146, allocations: 2.625 kB / 488.9 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.01157, allocations: 26.34 kB / 488.9 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.01157, allocations: 2.562 kB / 488.9 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-05/0.01167, allocations: 14.95 kB / 489 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.01169, allocations: 7.625 kB / 489 MB, free: 21.75 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.0002107/0.0119, allocations: 236.6 kB / 489.2 MB, free: 21.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.01195, allocations: 31.38 kB / 489.2 MB, free: 21.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.01198, allocations: 16.38 kB / 489.2 MB, free: 21.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.01199, allocations: 1.062 kB / 489.2 MB, free: 21.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.01199, allocations: 3.938 kB / 489.3 MB, free: 21.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.012, allocations: 0.6562 kB / 489.3 MB, free: 21.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007706/0.01277, allocations: 0.6394 MB / 489.9 MB, free: 20.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.01277, allocations: 1.219 kB / 489.9 MB, free: 20.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.953e-05/0.01283, allocations: 15.44 kB / 489.9 MB, free: 20.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01283, allocations: 1.812 kB / 489.9 MB, free: 20.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.01285, allocations: 8.891 kB / 489.9 MB, free: 20.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.01285, allocations: 4 kB / 489.9 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01285, allocations: 1.094 kB / 489.9 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006558/0.01351, allocations: 0.513 MB / 490.4 MB, free: 20.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.01353, allocations: 12.31 kB / 490.4 MB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.01356, allocations: 9.344 kB / 490.5 MB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.01367, allocations: 5.938 kB / 490.5 MB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.01373, allocations: 6.188 kB / 490.5 MB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.01375, allocations: 12.45 kB / 490.5 MB, free: 20.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001412/0.01389, allocations: 176.6 kB / 490.7 MB, free: 20.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01389, allocations: 0 / 490.7 MB, free: 20.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003078/0.0142, allocations: 31.53 kB / 490.7 MB, free: 20.46 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.0002938/0.01449, allocations: 127.6 kB / 490.8 MB, free: 20.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006125/0.01511, allocations: 0.5258 MB / 491.3 MB, free: 19.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01511, allocations: 5.344 kB / 491.3 MB, free: 19.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.01537, allocations: 260.3 kB / 491.6 MB, free: 19.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.01569, allocations: 28.64 kB / 491.6 MB, free: 19.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005749/0.01626, allocations: 359.8 kB / 492 MB, free: 19.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.136e-05/0.01634, allocations: 93.97 kB / 492.1 MB, free: 19.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.887e-05/0.0164, allocations: 22.62 kB / 492.1 MB, free: 19.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.01644, allocations: 15.22 kB / 492.1 MB, free: 19.29 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01644, allocations: 0 / 492.1 MB, free: 19.29 MB / 426.7 MB Notification: Performance of Templates: time 0.005619/0.02205, allocations: 2.201 MB / 494.3 MB, free: 19.04 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: 5.784915321972221]