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.001517/0.001517, allocations: 107.6 kB / 16.27 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.001773/0.001773, allocations: 191 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.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7759/0.7759, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 63.91 kB / 0.4911 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3584, allocations: 77.93 MB / 0.5672 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002884/0.3614, allocations: 1.589 MB / 0.5688 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008565/0.3622, allocations: 0.6154 MB / 0.5694 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.545e-05/0.3623, allocations: 5.812 kB / 0.5694 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.3625, allocations: 20.45 kB / 0.5694 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.3627, allocations: 40.47 kB / 0.5694 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.3631, allocations: 115.2 kB / 0.5695 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.3633, allocations: 189.7 kB / 0.5697 GB, free: 31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3634, allocations: 35.2 kB / 0.5697 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.3636, allocations: 78.42 kB / 0.5698 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.3637, allocations: 84.91 kB / 0.5699 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.3638, allocations: 17.16 kB / 0.5699 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.716e-05/0.3638, allocations: 31.47 kB / 0.5699 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.825e-05/0.3639, allocations: 32.83 kB / 0.57 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.143e-05/0.364, allocations: 72.41 kB / 0.57 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.3643, allocations: 163.9 kB / 0.5702 GB, free: 30.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3643, allocations: 0.7969 kB / 0.5702 GB, free: 30.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3643, allocations: 0 / 0.5702 GB, free: 30.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.3643, allocations: 1.188 kB / 0.5702 GB, free: 30.79 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.0006052/0.3649, allocations: 0.5622 MB / 0.5708 GB, free: 30.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.365, allocations: 10.94 kB / 0.5708 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.234e-05/0.365, allocations: 20.27 kB / 0.5708 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.3653, allocations: 237.9 kB / 0.571 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.3653, allocations: 8.781 kB / 0.571 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.3654, allocations: 15.34 kB / 0.571 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.3657, allocations: 115.9 kB / 0.5711 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3657, allocations: 1.5 kB / 0.5711 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.3657, allocations: 3.375 kB / 0.5711 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3657, allocations: 0 / 0.5711 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.3659, allocations: 70.7 kB / 0.5712 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006271/0.3666, allocations: 417.4 kB / 0.5716 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.3668, allocations: 87.89 kB / 0.5717 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.3669, allocations: 76.66 kB / 0.5718 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.367, allocations: 1.938 kB / 0.5718 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/0.3672, allocations: 184.3 kB / 0.5719 GB, free: 29.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/0.3672, allocations: 4.703 kB / 0.5719 GB, free: 29.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009527/0.3682, allocations: 355.4 kB / 0.5723 GB, free: 29.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.3683, allocations: 167.8 kB / 0.5724 GB, free: 29.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.3685, allocations: 180.3 kB / 0.5726 GB, free: 28.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.3685, allocations: 34.8 kB / 0.5727 GB, free: 28.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.3686, allocations: 108.2 kB / 0.5728 GB, free: 28.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.3686, allocations: 25.05 kB / 0.5728 GB, free: 28.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-05/0.3687, allocations: 40.48 kB / 0.5728 GB, free: 28.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.87e-05/0.3688, allocations: 334.5 kB / 0.5731 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.369, allocations: 49.81 kB / 0.5732 GB, free: 28.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.3692, allocations: 104.9 kB / 0.5733 GB, free: 28.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.3696, allocations: 309.8 kB / 0.5736 GB, free: 28.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3696, allocations: 4.391 kB / 0.5736 GB, free: 28.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006998/0.3703, allocations: 351 kB / 0.5739 GB, free: 27.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.981e-05/0.3704, allocations: 119.7 kB / 0.574 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3704, allocations: 2.906 kB / 0.574 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3705, allocations: 2.312 kB / 0.574 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.3706, allocations: 15.98 kB / 0.5741 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.3706, allocations: 4.141 kB / 0.5741 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.3708, allocations: 21.62 kB / 0.5741 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.3708, allocations: 9.422 kB / 0.5741 GB, free: 27.66 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.0001496/0.371, allocations: 200.6 kB / 0.5743 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.371, allocations: 13.62 kB / 0.5743 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/0.3711, allocations: 19.36 kB / 0.5743 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3711, allocations: 3.938 kB / 0.5743 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3711, allocations: 1.156 kB / 0.5743 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3711, allocations: 0.5156 kB / 0.5743 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008743/0.372, allocations: 0.5846 MB / 0.5749 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.372, allocations: 0.6094 kB / 0.5749 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.738e-05/0.3721, allocations: 12.16 kB / 0.5749 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3721, allocations: 1 kB / 0.5749 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.3722, allocations: 7.828 kB / 0.5749 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3722, allocations: 0 / 0.5749 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3722, allocations: 10.81 kB / 0.5749 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007239/0.3729, allocations: 405.2 kB / 0.5753 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.373, allocations: 88.61 kB / 0.5754 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.373, allocations: 9.484 kB / 0.5754 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.3732, allocations: 10.05 kB / 0.5754 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.3733, allocations: 10.41 kB / 0.5754 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.3733, allocations: 11.75 kB / 0.5754 GB, free: 26.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.3734, allocations: 128.5 kB / 0.5756 GB, free: 26.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3734, allocations: 1.125 kB / 0.5756 GB, free: 26.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004942/0.3739, allocations: 40.08 kB / 0.5756 GB, free: 26.54 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.0002453/0.3742, allocations: 119.5 kB / 0.5757 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006581/0.3749, allocations: 373.1 kB / 0.5761 GB, free: 26.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3749, allocations: 0.625 kB / 0.5761 GB, free: 26.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.3752, allocations: 204.1 kB / 0.5763 GB, free: 25.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.3757, allocations: 28.98 kB / 0.5763 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/0.3763, allocations: 286.1 kB / 0.5766 GB, free: 25.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.3764, allocations: 0.7052 MB / 0.5772 GB, free: 25.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.533e-05/0.3765, allocations: 22.73 kB / 0.5773 GB, free: 25.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.3765, allocations: 13.86 kB / 0.5773 GB, free: 25.1 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3766, allocations: 1 kB / 0.5773 GB, free: 25.1 MB / 446.1 MB Notification: Performance of Templates: time 0.00502/0.3816, allocations: 2.082 MB / 0.5793 GB, free: 24.84 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)