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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 109.4 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002319/0.002319, allocations: 283.1 kB / 303.6 MB, free: 3.688 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.991/0.991, allocations: 180.9 MB / 0.5268 GB, free: 3.109 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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 0.002687/0.002687, allocations: 103.8 kB / 0.7259 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4887/0.4914, allocations: 94.15 MB / 0.8178 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.002477/0.4939, allocations: 1.634 MB / 0.8194 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007963/0.4947, allocations: 0.6188 MB / 0.82 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.901e-05/0.4947, allocations: 0.9688 kB / 0.82 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.4949, allocations: 20.81 kB / 0.8201 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.4951, allocations: 49.22 kB / 0.8201 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.4954, allocations: 110 kB / 0.8202 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.4956, allocations: 181.2 kB / 0.8204 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.4957, allocations: 17.77 kB / 0.8204 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.4959, allocations: 89.97 kB / 0.8205 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.496, allocations: 84.7 kB / 0.8206 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.483e-05/0.496, allocations: 14.56 kB / 0.8206 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.747e-05/0.4961, allocations: 31.98 kB / 0.8206 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.564e-05/0.4961, allocations: 30.27 kB / 0.8206 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.366e-05/0.4962, allocations: 75.77 kB / 0.8207 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.4965, allocations: 166.8 kB / 0.8209 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4965, allocations: 4 kB / 0.8209 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4965, allocations: 0 / 0.8209 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.4965, allocations: 0.5625 kB / 0.8209 GB, free: 5.543 MB / 0.5762 GB 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.0005501/0.497, allocations: 0.5539 MB / 0.8214 GB, free: 5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.497, allocations: 8.094 kB / 0.8214 GB, free: 5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.4971, allocations: 24.97 kB / 0.8215 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.4974, allocations: 237.7 kB / 0.8217 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.4974, allocations: 10.59 kB / 0.8217 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.4974, allocations: 11.91 kB / 0.8217 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.4976, allocations: 119.7 kB / 0.8218 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.4977, allocations: 0 / 0.8218 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.4977, allocations: 2.312 kB / 0.8218 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4977, allocations: 5.062 kB / 0.8218 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.4979, allocations: 70.75 kB / 0.8219 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005835/0.4984, allocations: 424.6 kB / 0.8223 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.4986, allocations: 78.28 kB / 0.8224 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.4987, allocations: 70.3 kB / 0.8224 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.4988, allocations: 1.688 kB / 0.8224 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.499, allocations: 182.6 kB / 0.8226 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.499, allocations: 3.938 kB / 0.8226 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006081/0.4996, allocations: 355.2 kB / 0.823 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.4996, allocations: 175.4 kB / 0.8231 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.4998, allocations: 181.7 kB / 0.8233 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.4998, allocations: 32.52 kB / 0.8233 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.4998, allocations: 107.8 kB / 0.8234 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.4999, allocations: 25.09 kB / 0.8235 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.4999, allocations: 44.59 kB / 0.8235 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.94e-05/0.5, allocations: 330.7 kB / 0.8238 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.5001, allocations: 50.83 kB / 0.8239 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.5002, allocations: 103.7 kB / 0.824 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.5005, allocations: 314.2 kB / 0.8243 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5005, allocations: 3.938 kB / 0.8243 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004174/0.5009, allocations: 360.3 kB / 0.8246 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/0.5009, allocations: 114.2 kB / 0.8247 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5009, allocations: 3.703 kB / 0.8247 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.5009, allocations: 2.719 kB / 0.8247 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.501, allocations: 15.52 kB / 0.8247 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.501, allocations: 3.5 kB / 0.8247 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.043e-05/0.5011, allocations: 24.45 kB / 0.8248 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.5012, allocations: 8.266 kB / 0.8248 GB, free: 2.379 MB / 0.5762 GB 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.0001073/0.5013, allocations: 208.9 kB / 0.825 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.5013, allocations: 14.73 kB / 0.825 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.5013, allocations: 16.17 kB / 0.825 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5013, allocations: 0 / 0.825 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5013, allocations: 0.5156 kB / 0.825 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5013, allocations: 2.359 kB / 0.825 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005854/0.5019, allocations: 0.5882 MB / 0.8256 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5019, allocations: 0 / 0.8256 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.752e-05/0.502, allocations: 11.53 kB / 0.8256 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.502, allocations: 0 / 0.8256 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.502, allocations: 13.81 kB / 0.8256 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.502, allocations: 3.938 kB / 0.8256 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.502, allocations: 4.547 kB / 0.8256 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.5024, allocations: 406.1 kB / 0.826 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.5025, allocations: 89 kB / 0.8261 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.5025, allocations: 9.75 kB / 0.8261 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.5026, allocations: 11.22 kB / 0.8261 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.5026, allocations: 8.953 kB / 0.8261 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.5027, allocations: 12 kB / 0.8261 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.394e-05/0.5027, allocations: 130.5 kB / 0.8262 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5027, allocations: 4 kB / 0.8263 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002688/0.503, allocations: 34.59 kB / 0.8263 GB, free: 1.234 MB / 0.5762 GB 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.0001977/0.5032, allocations: 128.5 kB / 0.8264 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003746/0.5036, allocations: 360.7 kB / 0.8268 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5036, allocations: 0 / 0.8268 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.5037, allocations: 195.1 kB / 0.8269 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.504, allocations: 17.7 kB / 0.827 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.5045, allocations: 314.6 kB / 0.8273 GB, free: 476 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.5048, allocations: 0.7063 MB / 0.8279 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.5048, allocations: 18.39 kB / 0.828 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.5048, allocations: 0 / 0.828 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of Templates: time 0.00391/0.5087, allocations: 2.18 MB / 0.8301 GB, free: 15.46 MB / 0.5919 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.390046997999889] Failed to read output from testmodel.py, exit status != 0: 0.5161317070014775 0.5282423239999999 0.029296312 Calling exit ...