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.001407/0.001407, allocations: 92.72 kB / 20.21 MB, free: 4.195 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.001571/0.001571, allocations: 157.3 kB / 23.52 MB, free: 0.8906 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.427/1.427, allocations: 177.2 MB / 203.9 MB, free: 5.57 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 0.9381/0.9381, allocations: 115 MB / 375.3 MB, free: 7.586 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.034e-06/2.034e-06, allocations: 0 / 480.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.622e-05, allocations: 4.703 kB / 480.8 MB, free: 11.94 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002476/0.002502, allocations: 1.617 MB / 482.4 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.00354, allocations: 0.6526 MB / 483 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.812e-05/0.003618, allocations: 5.188 kB / 483.1 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.003794, allocations: 18.44 kB / 483.1 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.00401, allocations: 42.58 kB / 483.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.004462, allocations: 125.5 kB / 483.2 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.004691, allocations: 194.3 kB / 483.4 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.855e-05/0.004789, allocations: 15.25 kB / 483.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.004999, allocations: 119.4 kB / 483.6 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.00511, allocations: 68.48 kB / 483.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.00515, allocations: 16.8 kB / 483.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-05/0.005232, allocations: 35.2 kB / 483.7 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/0.005309, allocations: 35.52 kB / 483.7 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.258e-05/0.005401, allocations: 52.42 kB / 483.8 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.005639, allocations: 187.3 kB / 483.9 MB, free: 10.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.005643, allocations: 4.719 kB / 483.9 MB, free: 10.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005643, allocations: 0 / 483.9 MB, free: 10.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.005648, allocations: 6.156 kB / 484 MB, free: 10.04 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.0006109/0.006259, allocations: 498.6 kB / 484.4 MB, free: 9.574 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.00631, allocations: 10.09 kB / 484.4 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000203/0.006513, allocations: 35.67 kB / 484.5 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.006779, allocations: 177.8 kB / 484.7 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.006799, allocations: 12.75 kB / 484.7 MB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.006829, allocations: 10.66 kB / 484.7 MB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.007117, allocations: 178.3 kB / 484.9 MB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.007129, allocations: 5.234 kB / 484.9 MB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.007149, allocations: 10.69 kB / 484.9 MB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.007154, allocations: 1.219 kB / 484.9 MB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.007387, allocations: 131.2 kB / 485 MB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.007951, allocations: 342.1 kB / 485.3 MB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.008163, allocations: 135 kB / 485.5 MB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.00836, allocations: 123 kB / 485.6 MB, free: 8.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.008391, allocations: 12.09 kB / 485.6 MB, free: 8.742 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.008653, allocations: 235.6 kB / 485.8 MB, free: 8.547 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.008654, allocations: 0 / 485.8 MB, free: 8.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.000795/0.009449, allocations: 485 kB / 486.3 MB, free: 8.254 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.009499, allocations: 169.4 kB / 486.5 MB, free: 8.059 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.009636, allocations: 183.9 kB / 486.6 MB, free: 7.926 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.009653, allocations: 28.64 kB / 486.7 MB, free: 7.895 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.009857, allocations: 112.6 kB / 486.8 MB, free: 23.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.009881, allocations: 28.84 kB / 486.8 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.615e-05/0.009947, allocations: 45.92 kB / 486.9 MB, free: 23.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.01012, allocations: 327.7 kB / 487.2 MB, free: 23.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.01033, allocations: 162.8 kB / 487.3 MB, free: 23.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.01054, allocations: 212.2 kB / 487.5 MB, free: 23.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.01087, allocations: 312.4 kB / 487.8 MB, free: 22.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.01087, allocations: 2.906 kB / 487.9 MB, free: 22.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006187/0.01149, allocations: 476.7 kB / 488.3 MB, free: 22.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.677e-05/0.01158, allocations: 120.6 kB / 488.4 MB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.01159, allocations: 1.281 kB / 488.4 MB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.01161, allocations: 2.312 kB / 488.4 MB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.01173, allocations: 16.94 kB / 488.5 MB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.01173, allocations: 2.781 kB / 488.5 MB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.01184, allocations: 18.98 kB / 488.5 MB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.01186, allocations: 15.73 kB / 488.5 MB, free: 22.29 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.000182/0.01204, allocations: 190.7 kB / 488.7 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.01211, allocations: 28.47 kB / 488.7 MB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.01214, allocations: 17.53 kB / 488.7 MB, free: 22.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.01214, allocations: 6.594 kB / 488.7 MB, free: 22.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.01215, allocations: 3.234 kB / 488.7 MB, free: 22.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.01215, allocations: 0 / 488.7 MB, free: 22.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007737/0.01293, allocations: 0.5824 MB / 489.3 MB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01293, allocations: 0 / 489.3 MB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.699e-05/0.013, allocations: 15.78 kB / 489.3 MB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.013, allocations: 1.344 kB / 489.3 MB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.01302, allocations: 5.312 kB / 489.3 MB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01302, allocations: 5.062 kB / 489.3 MB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01302, allocations: 0.7812 kB / 489.3 MB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006541/0.01368, allocations: 480 kB / 489.8 MB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.0137, allocations: 14.69 kB / 489.8 MB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.01373, allocations: 11.16 kB / 489.8 MB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.01385, allocations: 10.88 kB / 489.8 MB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.01391, allocations: 5.828 kB / 489.9 MB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.01392, allocations: 13.67 kB / 489.9 MB, free: 21.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001285/0.01405, allocations: 130.1 kB / 490 MB, free: 21.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01405, allocations: 0 / 490 MB, free: 21.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003165/0.01437, allocations: 34.84 kB / 490 MB, free: 21.2 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.0002728/0.01464, allocations: 126.6 kB / 490.1 MB, free: 21.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006281/0.01527, allocations: 0.5229 MB / 490.7 MB, free: 20.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01527, allocations: 0.8125 kB / 490.7 MB, free: 20.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.01554, allocations: 241.7 kB / 490.9 MB, free: 20.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.01588, allocations: 27.25 kB / 490.9 MB, free: 20.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006382/0.01652, allocations: 352.7 kB / 491.3 MB, free: 20.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.249e-05/0.01661, allocations: 94.08 kB / 491.4 MB, free: 20.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.486e-05/0.01668, allocations: 20.33 kB / 491.4 MB, free: 20.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.01673, allocations: 21.66 kB / 491.4 MB, free: 20.05 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01673, allocations: 1.406 kB / 491.4 MB, free: 20.05 MB / 426.7 MB Notification: Performance of Templates: time 0.00577/0.0225, allocations: 2.204 MB / 493.6 MB, free: 19.81 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.535190703929402]