Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001229/0.001229, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.0009777/0.0009777, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.906/0.906, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001672/0.001672, allocations: 241.3 kB / 261.3 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8055/0.8055, allocations: 138.4 MB / 456.3 MB, free: 1.363 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.5564 GB, free: 228 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.384e-05, allocations: 2.312 kB / 0.5564 GB, free: 224 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.002111/0.002125, allocations: 1.677 MB / 0.558 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008016/0.002926, allocations: 0.6621 MB / 0.5586 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.71e-05/0.003004, allocations: 3.938 kB / 0.5586 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.003149, allocations: 15.86 kB / 0.5587 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.003335, allocations: 51.69 kB / 0.5587 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.003625, allocations: 115.6 kB / 0.5588 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.003823, allocations: 199.5 kB / 0.559 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.751e-05/0.003911, allocations: 17.61 kB / 0.559 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.004091, allocations: 111.8 kB / 0.5591 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.342e-05/0.004184, allocations: 79.78 kB / 0.5592 GB, free: 13.27 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.004209, allocations: 12 kB / 0.5592 GB, free: 13.26 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.882e-05/0.004278, allocations: 39.91 kB / 0.5593 GB, free: 13.22 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.004339, allocations: 23.92 kB / 0.5593 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.004394, allocations: 55.89 kB / 0.5593 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.004569, allocations: 147.5 kB / 0.5595 GB, free: 13 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.00457, allocations: 4 kB / 0.5595 GB, free: 13 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004571, allocations: 0 / 0.5595 GB, free: 13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.004574, allocations: 4 kB / 0.5595 GB, free: 12.99 MB / 490.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.000464/0.005038, allocations: 0.5884 MB / 0.5601 GB, free: 12.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.00507, allocations: 12.75 kB / 0.5601 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.005193, allocations: 28.84 kB / 0.5601 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.005394, allocations: 188.3 kB / 0.5603 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.005408, allocations: 8.375 kB / 0.5603 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.005427, allocations: 20.36 kB / 0.5603 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.005593, allocations: 158.2 kB / 0.5605 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.0056, allocations: 192 / 0.5605 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.005611, allocations: 4.375 kB / 0.5605 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.005618, allocations: 3.938 kB / 0.5605 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.033e-05/0.005678, allocations: 83.38 kB / 0.5605 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.006025, allocations: 364.1 kB / 0.5609 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.505e-05/0.00612, allocations: 114.4 kB / 0.561 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.601e-05/0.006186, allocations: 95.06 kB / 0.5611 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.0062, allocations: 4 kB / 0.5611 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.006338, allocations: 223.9 kB / 0.5613 GB, free: 10.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/0.00634, allocations: 3.984 kB / 0.5613 GB, free: 10.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003727/0.006712, allocations: 391.7 kB / 0.5617 GB, free: 10.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.006771, allocations: 170.1 kB / 0.5618 GB, free: 10.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.006883, allocations: 230.6 kB / 0.5621 GB, free: 10.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.006899, allocations: 29.7 kB / 0.5621 GB, free: 9.984 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.00696, allocations: 159 kB / 0.5622 GB, free: 9.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.006984, allocations: 27.78 kB / 0.5623 GB, free: 9.793 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.007035, allocations: 51.34 kB / 0.5623 GB, free: 9.734 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.00715, allocations: 0.5001 MB / 0.5628 GB, free: 9.223 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.832e-05/0.007218, allocations: 138.8 kB / 0.5629 GB, free: 9.062 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.164e-05/0.00731, allocations: 200.3 kB / 0.5631 GB, free: 8.809 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.00745, allocations: 291.5 kB / 0.5634 GB, free: 8.453 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007452, allocations: 4 kB / 0.5634 GB, free: 8.449 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002675/0.00772, allocations: 407 kB / 0.5638 GB, free: 7.996 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.226e-05/0.007772, allocations: 126.7 kB / 0.5639 GB, free: 7.848 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.007776, allocations: 0 / 0.5639 GB, free: 7.848 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.007785, allocations: 4 kB / 0.5639 GB, free: 7.844 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.007847, allocations: 15.98 kB / 0.5639 GB, free: 7.828 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.00785, allocations: 4 kB / 0.5639 GB, free: 7.824 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.007899, allocations: 16.12 kB / 0.564 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.007911, allocations: 12 kB / 0.564 GB, free: 7.797 MB / 490.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.0001014/0.008013, allocations: 228 kB / 0.5642 GB, free: 7.551 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.008043, allocations: 27.84 kB / 0.5642 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.008069, allocations: 21.45 kB / 0.5642 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.00807, allocations: 0 / 0.5642 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.008073, allocations: 4 kB / 0.5642 GB, free: 7.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.008076, allocations: 0 / 0.5642 GB, free: 7.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.008436, allocations: 0.5475 MB / 0.5648 GB, free: 6.895 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.008437, allocations: 0 / 0.5648 GB, free: 6.895 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.045e-05/0.008468, allocations: 11.98 kB / 0.5648 GB, free: 6.883 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.008471, allocations: 11.88 kB / 0.5648 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.008482, allocations: 7.938 kB / 0.5648 GB, free: 6.863 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.008483, allocations: 0 / 0.5648 GB, free: 6.863 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.008485, allocations: 3.984 kB / 0.5648 GB, free: 6.859 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.008761, allocations: 466.9 kB / 0.5653 GB, free: 6.359 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.008775, allocations: 23.77 kB / 0.5653 GB, free: 6.336 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.008795, allocations: 4 kB / 0.5653 GB, free: 6.332 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.377e-05/0.008849, allocations: 11.98 kB / 0.5653 GB, free: 6.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.008882, allocations: 7.938 kB / 0.5653 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.008895, allocations: 15.98 kB / 0.5653 GB, free: 6.297 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.977e-05/0.008955, allocations: 161 kB / 0.5655 GB, free: 6.141 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008955, allocations: 0 / 0.5655 GB, free: 6.141 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002013/0.009156, allocations: 36 kB / 0.5655 GB, free: 6.105 MB / 490.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.0001602/0.009316, allocations: 133.3 kB / 0.5656 GB, free: 5.977 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002944/0.009611, allocations: 479.4 kB / 0.5661 GB, free: 5.418 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.009612, allocations: 0 / 0.5661 GB, free: 5.418 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.009731, allocations: 233.8 kB / 0.5663 GB, free: 5.148 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.009941, allocations: 19.98 kB / 0.5663 GB, free: 5.129 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.0105, allocations: 329 kB / 0.5666 GB, free: 4.766 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.87e-05/0.01055, allocations: 79.33 kB / 0.5667 GB, free: 4.668 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.279e-05/0.01058, allocations: 8.438 kB / 0.5667 GB, free: 4.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.01071, allocations: 126.1 kB / 0.5668 GB, free: 4.535 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01071, allocations: 0 / 0.5668 GB, free: 4.535 MB / 490.7 MB Notification: Performance of Templates: time 0.004058/0.01477, allocations: 2.43 MB / 0.5692 GB, free: 2.141 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.707368595059961]