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.001194/0.001195, allocations: 115.5 kB / 16.42 MB, free: 6.031 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.001223/0.001223, allocations: 186.2 kB / 17.35 MB, free: 5.633 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.247/1.247, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 284.8 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.8785/0.8785, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 99.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3528, allocations: 86.98 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.00257/0.3554, allocations: 1.605 MB / 0.7686 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008558/0.3563, allocations: 0.6135 MB / 0.7692 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.871e-05/0.3563, allocations: 0 / 0.7692 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.3565, allocations: 31.72 kB / 0.7693 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.3567, allocations: 39.77 kB / 0.7693 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.357, allocations: 111.8 kB / 0.7694 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.3573, allocations: 203.6 kB / 0.7696 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3574, allocations: 28.86 kB / 0.7696 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.3575, allocations: 83.75 kB / 0.7697 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.3577, allocations: 87.66 kB / 0.7698 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.3577, allocations: 16 kB / 0.7698 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.457e-05/0.3578, allocations: 27.98 kB / 0.7698 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.346e-05/0.3579, allocations: 27.91 kB / 0.7699 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.084e-05/0.358, allocations: 79.64 kB / 0.7699 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.3582, allocations: 163.2 kB / 0.7701 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3582, allocations: 3.938 kB / 0.7701 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3582, allocations: 4 kB / 0.7701 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3582, allocations: 0 / 0.7701 GB, free: 0.8008 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.0006069/0.3588, allocations: 0.5472 MB / 0.7706 GB, free: 188 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.3588, allocations: 8.031 kB / 0.7706 GB, free: 180 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.587e-05/0.3589, allocations: 20.75 kB / 0.7707 GB, free: 160 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.3592, allocations: 244.5 kB / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.3592, allocations: 12.38 kB / 0.7709 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.3593, allocations: 12.38 kB / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.3595, allocations: 117.7 kB / 0.771 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3595, allocations: 0 / 0.771 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.3596, allocations: 4 kB / 0.771 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.3596, allocations: 0 / 0.771 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.3598, allocations: 75.88 kB / 0.7711 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005691/0.3603, allocations: 416.6 kB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.3605, allocations: 86.56 kB / 0.7716 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.3607, allocations: 76.8 kB / 0.7717 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.3607, allocations: 4 kB / 0.7717 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.361, allocations: 178.7 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.361, allocations: 0 / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0006715/0.3616, allocations: 360.8 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.536e-05/0.3617, allocations: 166.2 kB / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.3619, allocations: 179.6 kB / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.3619, allocations: 29.7 kB / 0.7725 GB, free: 14.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.362, allocations: 108.4 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.362, allocations: 27.66 kB / 0.7727 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.3621, allocations: 37.7 kB / 0.7727 GB, free: 13.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.3622, allocations: 334.8 kB / 0.773 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.3623, allocations: 51.97 kB / 0.7731 GB, free: 13.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.3625, allocations: 106.8 kB / 0.7732 GB, free: 13.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.3628, allocations: 308.9 kB / 0.7735 GB, free: 12.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3628, allocations: 0 / 0.7735 GB, free: 12.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004889/0.3633, allocations: 352.3 kB / 0.7738 GB, free: 12.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.216e-05/0.3634, allocations: 118.8 kB / 0.7739 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3634, allocations: 4 kB / 0.7739 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.3634, allocations: 0 / 0.7739 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.3635, allocations: 19.92 kB / 0.7739 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.3636, allocations: 4 kB / 0.7739 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.705e-05/0.3637, allocations: 15.94 kB / 0.7739 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.3637, allocations: 8 kB / 0.774 GB, free: 12.4 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.0001442/0.3638, allocations: 207.3 kB / 0.7742 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.3639, allocations: 19.81 kB / 0.7742 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.3639, allocations: 13.41 kB / 0.7742 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3639, allocations: 0 / 0.7742 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3639, allocations: 0 / 0.7742 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.364, allocations: 92.91 kB / 0.7743 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.364, allocations: 4 kB / 0.7743 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.901e-05/0.3641, allocations: 15.94 kB / 0.7743 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.3641, allocations: 11.92 kB / 0.7743 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005859/0.3647, allocations: 499 kB / 0.7748 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005296/0.3653, allocations: 482.1 kB / 0.7752 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001593/0.3654, allocations: 87.95 kB / 0.7753 GB, free: 10.88 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.857e-05/0.3655, allocations: 128.2 kB / 0.7754 GB, free: 10.76 MB / 0.545 GB Notification: Performance of Backend: time 3.41e-07/0.3655, allocations: 4 kB / 0.7755 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006849/0.3662, allocations: 407.4 kB / 0.7758 GB, free: 10.3 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005936/0.3668, allocations: 0.7848 MB / 0.7766 GB, free: 9.449 MB / 0.545 GB Notification: Performance of Templates: time 0.00467/0.3715, allocations: 2.213 MB / 0.7788 GB, free: 7.273 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)