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) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001179/0.001179, allocations: 118.8 kB / 16.42 MB, free: 6.496 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.001136/0.001136, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.24/1.24, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 293.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8828/0.8828, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 91.84 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3591, allocations: 86.98 MB / 0.7671 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.002656/0.3618, allocations: 1.605 MB / 0.7686 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009143/0.3627, allocations: 0.6174 MB / 0.7692 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.78e-05/0.3628, allocations: 4 kB / 0.7692 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.3629, allocations: 23.78 kB / 0.7693 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.3631, allocations: 43.75 kB / 0.7693 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.3635, allocations: 107.8 kB / 0.7694 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000232/0.3638, allocations: 195.6 kB / 0.7696 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.3639, allocations: 32.88 kB / 0.7696 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.364, allocations: 87.73 kB / 0.7697 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.3642, allocations: 87.66 kB / 0.7698 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.283e-05/0.3642, allocations: 12 kB / 0.7698 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.89e-05/0.3643, allocations: 28 kB / 0.7698 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.792e-05/0.3644, allocations: 27.91 kB / 0.7698 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.166e-05/0.3645, allocations: 71.72 kB / 0.7699 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.3647, allocations: 171.2 kB / 0.7701 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3647, allocations: 0 / 0.7701 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.424e-06/0.3647, allocations: 4 kB / 0.7701 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.3647, allocations: 3.938 kB / 0.7701 GB, free: 0.8398 MB / 0.5294 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.0006193/0.3653, allocations: 0.5433 MB / 0.7706 GB, free: 232 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.3654, allocations: 8.031 kB / 0.7706 GB, free: 224 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.3654, allocations: 20.75 kB / 0.7706 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.3657, allocations: 256.5 kB / 0.7709 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.3658, allocations: 8.375 kB / 0.7709 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.3658, allocations: 12.38 kB / 0.7709 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.3661, allocations: 113.7 kB / 0.771 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.3661, allocations: 0 / 0.771 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.3661, allocations: 4 kB / 0.771 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3661, allocations: 4 kB / 0.771 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.3663, allocations: 75.89 kB / 0.7711 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005975/0.3669, allocations: 416.6 kB / 0.7715 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.3671, allocations: 90.56 kB / 0.7716 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.3673, allocations: 76.75 kB / 0.7717 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.3673, allocations: 8 kB / 0.7717 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.3675, allocations: 174.7 kB / 0.7718 GB, free: 14.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.3675, allocations: 4 kB / 0.7718 GB, free: 14.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.000665/0.3682, allocations: 352.8 kB / 0.7722 GB, free: 14.49 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/0.3683, allocations: 166.2 kB / 0.7723 GB, free: 14.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.3685, allocations: 179.7 kB / 0.7725 GB, free: 14.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.3685, allocations: 33.7 kB / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.3686, allocations: 108.4 kB / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.3686, allocations: 27.64 kB / 0.7727 GB, free: 13.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.3687, allocations: 37.7 kB / 0.7727 GB, free: 13.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3688, allocations: 330.8 kB / 0.773 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.3689, allocations: 47.95 kB / 0.7731 GB, free: 13.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.3691, allocations: 110.8 kB / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.3694, allocations: 305 kB / 0.7735 GB, free: 13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3694, allocations: 0 / 0.7735 GB, free: 13 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004877/0.3699, allocations: 348.1 kB / 0.7738 GB, free: 12.63 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.385e-05/0.37, allocations: 122.8 kB / 0.7739 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.37, allocations: 0 / 0.7739 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.37, allocations: 4 kB / 0.7739 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.3701, allocations: 19.92 kB / 0.7739 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3701, allocations: 4 kB / 0.7739 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.892e-05/0.3702, allocations: 19.92 kB / 0.7739 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.3703, allocations: 12.2 kB / 0.774 GB, free: 12.43 MB / 0.545 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.0001498/0.3704, allocations: 205.1 kB / 0.7742 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.3705, allocations: 15.81 kB / 0.7742 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.3705, allocations: 21.39 kB / 0.7742 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3705, allocations: 0 / 0.7742 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3705, allocations: 0 / 0.7742 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.3706, allocations: 88.92 kB / 0.7743 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.3706, allocations: 4 kB / 0.7743 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.769e-05/0.3707, allocations: 15.92 kB / 0.7743 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.3707, allocations: 12 kB / 0.7743 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005761/0.3713, allocations: 495.1 kB / 0.7748 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005321/0.3719, allocations: 481.9 kB / 0.7752 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001562/0.372, allocations: 83.95 kB / 0.7753 GB, free: 10.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.305e-05/0.3721, allocations: 136.3 kB / 0.7754 GB, free: 10.79 MB / 0.545 GB Notification: Performance of Backend: time 4.91e-07/0.3721, allocations: 3.938 kB / 0.7755 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006993/0.3729, allocations: 408 kB / 0.7758 GB, free: 10.34 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005836/0.3734, allocations: 0.7879 MB / 0.7766 GB, free: 9.484 MB / 0.545 GB Notification: Performance of Templates: time 0.004903/0.3784, allocations: 2.211 MB / 0.7788 GB, free: 7.305 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.makefile (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)