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.00105/0.00105, allocations: 102.7 kB / 16.27 MB, free: 6 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.001045/0.001045, allocations: 186.1 kB / 17.2 MB, free: 5.613 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.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7548/0.7548, allocations: 126.4 MB / 417.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 67.89 kB / 0.4953 GB, free: 3.098 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3828, allocations: 78.78 MB / 0.5723 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002912/0.3858, allocations: 1.591 MB / 0.5738 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008791/0.3867, allocations: 0.6148 MB / 0.5744 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.809e-05/0.3868, allocations: 2.156 kB / 0.5744 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.3869, allocations: 20.84 kB / 0.5744 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.3871, allocations: 43.16 kB / 0.5745 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.3875, allocations: 116.3 kB / 0.5746 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.3878, allocations: 185.2 kB / 0.5748 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3879, allocations: 35.03 kB / 0.5748 GB, free: 29.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.388, allocations: 85.8 kB / 0.5749 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.3882, allocations: 85.53 kB / 0.575 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.201e-05/0.3882, allocations: 13.44 kB / 0.575 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.102e-05/0.3883, allocations: 31.3 kB / 0.575 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.106e-05/0.3884, allocations: 29.69 kB / 0.575 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.029e-05/0.3885, allocations: 71.55 kB / 0.5751 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.3887, allocations: 162.5 kB / 0.5753 GB, free: 29.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3887, allocations: 2.625 kB / 0.5753 GB, free: 29.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3887, allocations: 0 / 0.5753 GB, free: 29.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3888, allocations: 3.938 kB / 0.5753 GB, free: 29.34 MB / 446.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.0005567/0.3893, allocations: 0.5627 MB / 0.5758 GB, free: 28.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3894, allocations: 9.312 kB / 0.5758 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.3894, allocations: 18.56 kB / 0.5759 GB, free: 28.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.3897, allocations: 238 kB / 0.5761 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.3897, allocations: 7.75 kB / 0.5761 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.3897, allocations: 15.31 kB / 0.5761 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.39, allocations: 116.1 kB / 0.5762 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.39, allocations: 1 kB / 0.5762 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.39, allocations: 6.938 kB / 0.5762 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.39, allocations: 2.156 kB / 0.5762 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.3902, allocations: 64.53 kB / 0.5763 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005843/0.3908, allocations: 413.7 kB / 0.5767 GB, free: 28.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.391, allocations: 88.09 kB / 0.5768 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.3912, allocations: 77.05 kB / 0.5768 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.3912, allocations: 2.141 kB / 0.5768 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.3914, allocations: 183.3 kB / 0.577 GB, free: 27.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.3914, allocations: 0 / 0.577 GB, free: 27.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006511/0.3921, allocations: 352.3 kB / 0.5773 GB, free: 27.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.3922, allocations: 163.7 kB / 0.5775 GB, free: 27.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.3923, allocations: 182.2 kB / 0.5777 GB, free: 27.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.3923, allocations: 33.83 kB / 0.5777 GB, free: 27.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.3924, allocations: 109 kB / 0.5778 GB, free: 27.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.3924, allocations: 39.62 kB / 0.5779 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.94e-05/0.3925, allocations: 39.58 kB / 0.5779 GB, free: 27.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.721e-05/0.3925, allocations: 332.3 kB / 0.5782 GB, free: 26.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.3927, allocations: 52.28 kB / 0.5783 GB, free: 26.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.3928, allocations: 98.86 kB / 0.5783 GB, free: 26.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.3931, allocations: 319.3 kB / 0.5787 GB, free: 26.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3931, allocations: 2.094 kB / 0.5787 GB, free: 26.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004759/0.3936, allocations: 343.8 kB / 0.579 GB, free: 26.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.378e-05/0.3936, allocations: 122 kB / 0.5791 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3937, allocations: 1.562 kB / 0.5791 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3937, allocations: 3.312 kB / 0.5791 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.3938, allocations: 22.92 kB / 0.5791 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3938, allocations: 2.219 kB / 0.5791 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.3939, allocations: 20.38 kB / 0.5791 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.3939, allocations: 15.59 kB / 0.5792 GB, free: 26.08 MB / 446.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.0001257/0.3941, allocations: 197.1 kB / 0.5794 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.3941, allocations: 14.41 kB / 0.5794 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.3942, allocations: 17.12 kB / 0.5794 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3942, allocations: 2.938 kB / 0.5794 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3942, allocations: 0 / 0.5794 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3942, allocations: 3.984 kB / 0.5794 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005929/0.3948, allocations: 0.5835 MB / 0.58 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3948, allocations: 1.062 kB / 0.58 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.421e-05/0.3949, allocations: 14.42 kB / 0.58 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3949, allocations: 0 / 0.58 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.3949, allocations: 9.594 kB / 0.58 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.3949, allocations: 3.984 kB / 0.58 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.3949, allocations: 5.656 kB / 0.58 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.3954, allocations: 403.8 kB / 0.5804 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.3955, allocations: 87.95 kB / 0.5805 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.3955, allocations: 8.281 kB / 0.5805 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.3956, allocations: 6.781 kB / 0.5805 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.3957, allocations: 15.11 kB / 0.5805 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.3957, allocations: 9.25 kB / 0.5805 GB, free: 24.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.343e-05/0.3958, allocations: 128.3 kB / 0.5806 GB, free: 24.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3958, allocations: 3.938 kB / 0.5806 GB, free: 24.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.3961, allocations: 39.09 kB / 0.5807 GB, free: 24.84 MB / 446.1 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.0002208/0.3963, allocations: 120.8 kB / 0.5808 GB, free: 24.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004378/0.3968, allocations: 367 kB / 0.5811 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.3968, allocations: 1.156 kB / 0.5811 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.397, allocations: 214.3 kB / 0.5813 GB, free: 24.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.3973, allocations: 23.67 kB / 0.5814 GB, free: 24.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005883/0.3979, allocations: 287 kB / 0.5816 GB, free: 24.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.3981, allocations: 0.7098 MB / 0.5823 GB, free: 23.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.246e-05/0.3981, allocations: 20.58 kB / 0.5823 GB, free: 23.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.3982, allocations: 16.95 kB / 0.5824 GB, free: 23.3 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3982, allocations: 1.125 kB / 0.5824 GB, free: 23.3 MB / 446.1 MB Notification: Performance of Templates: time 0.004718/0.4029, allocations: 2.079 MB / 0.5844 GB, free: 22.26 MB / 446.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)