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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 112.8 kB / 17.09 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 194.9 kB / 18.03 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6699/0.6699, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 69.86 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1095, allocations: 76.18 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002528/0.1121, allocations: 1.599 MB / 0.6343 GB, free: 2.816 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008371/0.1129, allocations: 0.6118 MB / 0.6349 GB, free: 2.199 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.892e-05/0.113, allocations: 3.938 kB / 0.6349 GB, free: 2.195 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.1132, allocations: 23.8 kB / 0.6349 GB, free: 2.172 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.1134, allocations: 47.77 kB / 0.635 GB, free: 2.125 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.1137, allocations: 111.7 kB / 0.6351 GB, free: 2.016 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.1139, allocations: 187.6 kB / 0.6353 GB, free: 1.832 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.914e-05/0.1141, allocations: 37.08 kB / 0.6353 GB, free: 1.797 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1142, allocations: 91.69 kB / 0.6354 GB, free: 1.707 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1143, allocations: 83.72 kB / 0.6355 GB, free: 1.625 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.1144, allocations: 16 kB / 0.6355 GB, free: 1.609 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.595e-05/0.1144, allocations: 23.98 kB / 0.6355 GB, free: 1.586 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.085e-05/0.1145, allocations: 27.92 kB / 0.6355 GB, free: 1.559 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.907e-05/0.1146, allocations: 75.64 kB / 0.6356 GB, free: 1.484 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.1148, allocations: 171.5 kB / 0.6358 GB, free: 1.316 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1148, allocations: 4 kB / 0.6358 GB, free: 1.312 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1148, allocations: 0 / 0.6358 GB, free: 1.312 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.1148, allocations: 3.938 kB / 0.6358 GB, free: 1.309 MB / 478.1 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.0005709/0.1154, allocations: 0.5485 MB / 0.6363 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.1154, allocations: 12.03 kB / 0.6363 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.1155, allocations: 16.75 kB / 0.6363 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.1158, allocations: 232.7 kB / 0.6365 GB, free: 404 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.1158, allocations: 16.38 kB / 0.6366 GB, free: 388 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.1158, allocations: 16.31 kB / 0.6366 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.1161, allocations: 117.7 kB / 0.6367 GB, free: 248 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.1161, allocations: 0 / 0.6367 GB, free: 248 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.1162, allocations: 4 kB / 0.6367 GB, free: 244 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1162, allocations: 0 / 0.6367 GB, free: 244 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.1164, allocations: 71.94 kB / 0.6368 GB, free: 172 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005701/0.1169, allocations: 424.5 kB / 0.6372 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.1171, allocations: 86.53 kB / 0.6373 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.1173, allocations: 76.81 kB / 0.6373 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.1173, allocations: 0 / 0.6373 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.1176, allocations: 187 kB / 0.6375 GB, free: 15.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.1176, allocations: 3.938 kB / 0.6375 GB, free: 15.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006498/0.1182, allocations: 348.7 kB / 0.6378 GB, free: 14.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.1183, allocations: 166.2 kB / 0.638 GB, free: 14.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.1184, allocations: 170.7 kB / 0.6382 GB, free: 14.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1185, allocations: 37.64 kB / 0.6382 GB, free: 14.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.1185, allocations: 116.3 kB / 0.6383 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.1186, allocations: 23.66 kB / 0.6383 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.1187, allocations: 45.69 kB / 0.6384 GB, free: 14.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.526e-05/0.1188, allocations: 330.8 kB / 0.6387 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.1189, allocations: 47.97 kB / 0.6387 GB, free: 13.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.119, allocations: 102.8 kB / 0.6388 GB, free: 13.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.1194, allocations: 312.9 kB / 0.6391 GB, free: 13.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1194, allocations: 4 kB / 0.6391 GB, free: 13.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000483/0.1199, allocations: 348.2 kB / 0.6395 GB, free: 13.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.718e-05/0.1199, allocations: 118.8 kB / 0.6396 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1199, allocations: 4 kB / 0.6396 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.12, allocations: 0 / 0.6396 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1201, allocations: 23.92 kB / 0.6396 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1201, allocations: 0 / 0.6396 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.564e-05/0.1202, allocations: 12 kB / 0.6396 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.1202, allocations: 11.98 kB / 0.6396 GB, free: 12.9 MB / 494.1 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.0001409/0.1204, allocations: 204.3 kB / 0.6398 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.1204, allocations: 19.81 kB / 0.6398 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.1205, allocations: 21.34 kB / 0.6399 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1205, allocations: 0 / 0.6399 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1205, allocations: 7.969 kB / 0.6399 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.1205, allocations: 92.86 kB / 0.64 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.1206, allocations: 4 kB / 0.64 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.444e-05/0.1206, allocations: 7.938 kB / 0.64 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.1207, allocations: 11.98 kB / 0.64 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005662/0.1213, allocations: 495.3 kB / 0.6405 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005347/0.1218, allocations: 481.9 kB / 0.6409 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001602/0.122, allocations: 83.95 kB / 0.641 GB, free: 11.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.317e-05/0.1221, allocations: 131.2 kB / 0.6411 GB, free: 11.26 MB / 494.1 MB Notification: Performance of Backend: time 3.51e-07/0.1221, allocations: 4 kB / 0.6411 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006801/0.1228, allocations: 403.7 kB / 0.6415 GB, free: 10.81 MB / 494.1 MB Notification: Performance of SimCode: time 0.000567/0.1234, allocations: 0.7913 MB / 0.6423 GB, free: 9.949 MB / 494.1 MB Notification: Performance of Templates: time 0.004697/0.1281, allocations: 2.211 MB / 0.6444 GB, free: 7.762 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile (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)