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.001066/0.001066, allocations: 113.4 kB / 17.04 MB, free: 6.07 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.001093/0.001093, allocations: 195 kB / 17.98 MB, free: 5.148 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.239/1.239, allocations: 222.9 MB / 241.7 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.6946/0.6946, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3255, allocations: 76.14 MB / 0.5576 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.00265/0.3282, allocations: 1.599 MB / 0.5591 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008068/0.3291, allocations: 0.6111 MB / 0.5597 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.3291, allocations: 1.375 kB / 0.5597 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.3293, allocations: 26.33 kB / 0.5598 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.3295, allocations: 43.5 kB / 0.5598 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.3298, allocations: 114.4 kB / 0.5599 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.3301, allocations: 192.5 kB / 0.5601 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3302, allocations: 26.66 kB / 0.5601 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.3303, allocations: 90.89 kB / 0.5602 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.3305, allocations: 84.72 kB / 0.5603 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.3305, allocations: 17.59 kB / 0.5603 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.746e-05/0.3306, allocations: 31.34 kB / 0.5603 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.945e-05/0.3307, allocations: 27.59 kB / 0.5604 GB, free: 34.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.668e-05/0.3308, allocations: 82.83 kB / 0.5604 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.331, allocations: 162.6 kB / 0.5606 GB, free: 34.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.331, allocations: 0 / 0.5606 GB, free: 34.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.331, allocations: 0.7969 kB / 0.5606 GB, free: 34.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.331, allocations: 1.406 kB / 0.5606 GB, free: 34.7 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.0005774/0.3316, allocations: 0.5499 MB / 0.5611 GB, free: 34.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.3316, allocations: 10.38 kB / 0.5611 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.863e-05/0.3317, allocations: 26.2 kB / 0.5612 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.332, allocations: 238.2 kB / 0.5614 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.332, allocations: 7.719 kB / 0.5614 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.3321, allocations: 15.31 kB / 0.5614 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.3323, allocations: 115.6 kB / 0.5615 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.3323, allocations: 0.875 kB / 0.5615 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.3324, allocations: 7.484 kB / 0.5615 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3324, allocations: 2.75 kB / 0.5615 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.3326, allocations: 64.08 kB / 0.5616 GB, free: 33.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.3331, allocations: 427.1 kB / 0.562 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.3333, allocations: 83.16 kB / 0.5621 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.3335, allocations: 75.97 kB / 0.5622 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.3335, allocations: 1.938 kB / 0.5622 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.3337, allocations: 180.3 kB / 0.5623 GB, free: 33.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.3338, allocations: 0 / 0.5623 GB, free: 33.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006495/0.3344, allocations: 352.6 kB / 0.5627 GB, free: 33.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.3345, allocations: 171.4 kB / 0.5628 GB, free: 32.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.3346, allocations: 177.5 kB / 0.563 GB, free: 32.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.3346, allocations: 34.14 kB / 0.563 GB, free: 32.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.3347, allocations: 110.8 kB / 0.5631 GB, free: 32.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.3347, allocations: 25.81 kB / 0.5632 GB, free: 32.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.45e-05/0.3348, allocations: 39.5 kB / 0.5632 GB, free: 32.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.3348, allocations: 331.8 kB / 0.5635 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.335, allocations: 52.75 kB / 0.5636 GB, free: 32.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.3351, allocations: 103.2 kB / 0.5637 GB, free: 32.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.3354, allocations: 313.2 kB / 0.564 GB, free: 31.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3354, allocations: 1.281 kB / 0.564 GB, free: 31.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004518/0.3358, allocations: 350.3 kB / 0.5643 GB, free: 31.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/0.3359, allocations: 119.5 kB / 0.5644 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3359, allocations: 3.859 kB / 0.5644 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3359, allocations: 2.312 kB / 0.5644 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.336, allocations: 18.39 kB / 0.5644 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.3361, allocations: 3.625 kB / 0.5644 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.512e-05/0.3362, allocations: 18.52 kB / 0.5645 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.3362, allocations: 12.22 kB / 0.5645 GB, free: 31.59 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.0001156/0.3363, allocations: 205.8 kB / 0.5647 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.3363, allocations: 17.72 kB / 0.5647 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.3364, allocations: 15.59 kB / 0.5647 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3364, allocations: 1.031 kB / 0.5647 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3364, allocations: 1.812 kB / 0.5647 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3364, allocations: 1.188 kB / 0.5647 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006046/0.337, allocations: 0.5819 MB / 0.5653 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.337, allocations: 1.969 kB / 0.5653 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.303e-05/0.3371, allocations: 16.98 kB / 0.5653 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3371, allocations: 0 / 0.5653 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.3371, allocations: 7.797 kB / 0.5653 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3371, allocations: 1.188 kB / 0.5653 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3371, allocations: 5.062 kB / 0.5653 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00047/0.3376, allocations: 405.8 kB / 0.5657 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.3377, allocations: 89.03 kB / 0.5658 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.3377, allocations: 8.984 kB / 0.5658 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.3378, allocations: 9.062 kB / 0.5658 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.3379, allocations: 9.703 kB / 0.5658 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3379, allocations: 17.06 kB / 0.5658 GB, free: 30.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.674e-05/0.338, allocations: 129.4 kB / 0.5659 GB, free: 30.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.338, allocations: 0 / 0.5659 GB, free: 30.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.3383, allocations: 39.61 kB / 0.566 GB, free: 30.46 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.0001985/0.3385, allocations: 119.6 kB / 0.5661 GB, free: 30.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004065/0.3389, allocations: 358.5 kB / 0.5664 GB, free: 30.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3389, allocations: 1.688 kB / 0.5664 GB, free: 30.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.3391, allocations: 212.5 kB / 0.5666 GB, free: 29.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.3394, allocations: 23.38 kB / 0.5667 GB, free: 29.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.3399, allocations: 296.4 kB / 0.5669 GB, free: 29.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.34, allocations: 0.712 MB / 0.5676 GB, free: 29.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.543e-05/0.3401, allocations: 22.56 kB / 0.5677 GB, free: 29.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.3402, allocations: 15.98 kB / 0.5677 GB, free: 29.01 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3402, allocations: 1.625 kB / 0.5677 GB, free: 29.01 MB / 446.1 MB Notification: Performance of Templates: time 0.004934/0.3451, allocations: 2.063 MB / 0.5697 GB, free: 28.79 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)