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.001162/0.001162, allocations: 108.2 kB / 17.03 MB, free: 5.656 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.001079/0.001079, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.292/1.292, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7072/0.7072, allocations: 115.1 MB / 406.9 MB, free: 6.293 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.89 kB / 494.8 MB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3397, allocations: 76.14 MB / 0.5576 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002581/0.3423, allocations: 1.605 MB / 0.5591 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000878/0.3432, allocations: 0.614 MB / 0.5597 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.503e-05/0.3433, allocations: 1.344 kB / 0.5597 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.3435, allocations: 23.36 kB / 0.5597 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.3437, allocations: 42.94 kB / 0.5598 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.3441, allocations: 117.2 kB / 0.5599 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.3444, allocations: 193.9 kB / 0.5601 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.3445, allocations: 28.5 kB / 0.5601 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.3446, allocations: 82.59 kB / 0.5602 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.3448, allocations: 83.52 kB / 0.5603 GB, free: 34.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.3448, allocations: 14.03 kB / 0.5603 GB, free: 34.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.208e-05/0.3449, allocations: 36.22 kB / 0.5603 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.031e-05/0.345, allocations: 28.48 kB / 0.5603 GB, free: 34.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.232e-05/0.3451, allocations: 72.03 kB / 0.5604 GB, free: 34.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.3453, allocations: 162.6 kB / 0.5606 GB, free: 34.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3453, allocations: 0.6562 kB / 0.5606 GB, free: 34.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3453, allocations: 0.6875 kB / 0.5606 GB, free: 34.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3454, allocations: 1.062 kB / 0.5606 GB, free: 34.68 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.0005859/0.346, allocations: 0.5604 MB / 0.5611 GB, free: 34.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.346, allocations: 8.656 kB / 0.5611 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/0.3461, allocations: 22.3 kB / 0.5612 GB, free: 34.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.3463, allocations: 236.8 kB / 0.5614 GB, free: 33.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.3464, allocations: 8.469 kB / 0.5614 GB, free: 33.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.3464, allocations: 15.56 kB / 0.5614 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.3467, allocations: 124.2 kB / 0.5615 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3467, allocations: 1.5 kB / 0.5615 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.3467, allocations: 7.406 kB / 0.5615 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.3467, allocations: 0 / 0.5615 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.3469, allocations: 65.64 kB / 0.5616 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/0.3476, allocations: 425.1 kB / 0.562 GB, free: 33.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.3478, allocations: 83.69 kB / 0.5621 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.3479, allocations: 77.06 kB / 0.5621 GB, free: 33.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.3479, allocations: 1.828 kB / 0.5621 GB, free: 33.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.3482, allocations: 175.3 kB / 0.5623 GB, free: 33.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 2.725e-06/0.3482, allocations: 96 / 0.5623 GB, free: 33.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007381/0.3489, allocations: 363 kB / 0.5627 GB, free: 33.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.349, allocations: 165.6 kB / 0.5628 GB, free: 32.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.3492, allocations: 172.9 kB / 0.563 GB, free: 32.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.3492, allocations: 37.7 kB / 0.563 GB, free: 32.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.3493, allocations: 110.4 kB / 0.5631 GB, free: 32.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.3493, allocations: 28.03 kB / 0.5632 GB, free: 32.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-05/0.3494, allocations: 39.39 kB / 0.5632 GB, free: 32.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.792e-05/0.3495, allocations: 331.2 kB / 0.5635 GB, free: 32.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.3496, allocations: 51.61 kB / 0.5636 GB, free: 32.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.3498, allocations: 102 kB / 0.5637 GB, free: 32.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.3501, allocations: 311.5 kB / 0.564 GB, free: 31.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3501, allocations: 0 / 0.564 GB, free: 31.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005227/0.3506, allocations: 347.6 kB / 0.5643 GB, free: 31.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.3e-05/0.3507, allocations: 120.6 kB / 0.5644 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3507, allocations: 3.625 kB / 0.5644 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.3507, allocations: 2.594 kB / 0.5644 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.3508, allocations: 21.05 kB / 0.5644 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.3509, allocations: 4.75 kB / 0.5644 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.351, allocations: 18.28 kB / 0.5644 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.351, allocations: 8.484 kB / 0.5645 GB, free: 31.56 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.0001247/0.3511, allocations: 202.7 kB / 0.5646 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.3512, allocations: 24.03 kB / 0.5647 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.3512, allocations: 14.48 kB / 0.5647 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3512, allocations: 1.344 kB / 0.5647 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3512, allocations: 1.797 kB / 0.5647 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3512, allocations: 0.7969 kB / 0.5647 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006857/0.3519, allocations: 0.5805 MB / 0.5653 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3519, allocations: 6.656 kB / 0.5653 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.566e-05/0.352, allocations: 10.89 kB / 0.5653 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.352, allocations: 1.531 kB / 0.5653 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.3521, allocations: 8.453 kB / 0.5653 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.3521, allocations: 0 / 0.5653 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3521, allocations: 7.875 kB / 0.5653 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005427/0.3526, allocations: 402.2 kB / 0.5657 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.3527, allocations: 88.92 kB / 0.5658 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.3527, allocations: 10.38 kB / 0.5658 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.3528, allocations: 8.172 kB / 0.5658 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.3529, allocations: 15.64 kB / 0.5658 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.3529, allocations: 11.73 kB / 0.5658 GB, free: 30.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.981e-05/0.353, allocations: 130.3 kB / 0.5659 GB, free: 30.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.353, allocations: 0.75 kB / 0.5659 GB, free: 30.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000329/0.3534, allocations: 38.89 kB / 0.566 GB, free: 30.43 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.0002171/0.3536, allocations: 122 kB / 0.5661 GB, free: 30.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004438/0.3541, allocations: 362.1 kB / 0.5664 GB, free: 30.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3541, allocations: 1.594 kB / 0.5664 GB, free: 30.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.3543, allocations: 209.1 kB / 0.5666 GB, free: 29.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.3546, allocations: 26.77 kB / 0.5666 GB, free: 29.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005614/0.3552, allocations: 284.1 kB / 0.5669 GB, free: 29.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.3554, allocations: 0.7113 MB / 0.5676 GB, free: 29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.27e-05/0.3554, allocations: 20.38 kB / 0.5676 GB, free: 29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.3555, allocations: 16.47 kB / 0.5677 GB, free: 28.99 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3555, allocations: 0 / 0.5677 GB, free: 28.99 MB / 446.1 MB Notification: Performance of Templates: time 0.006011/0.3615, allocations: 2.08 MB / 0.5697 GB, free: 28.76 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)