Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7641/0.7641, allocations: 143.4 MB / 159.2 MB, free: 4.863 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001249, allocations: 184.5 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 447.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009571/0.000957, allocations: 107.8 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00186/0.00186, allocations: 288.6 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 79.88 kB / 0.6885 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3435, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.002713/0.3463, allocations: 1.729 MB / 0.7696 GB, free: 25.93 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.348, allocations: 1.475 MB / 0.7711 GB, free: 24.44 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.261e-05/0.3481, allocations: 7.875 kB / 0.7711 GB, free: 24.43 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.3484, allocations: 35.89 kB / 0.7711 GB, free: 24.4 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.3486, allocations: 55.75 kB / 0.7711 GB, free: 24.34 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.3489, allocations: 111 kB / 0.7713 GB, free: 24.24 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.3491, allocations: 115.6 kB / 0.7714 GB, free: 24.12 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.3491, allocations: 13.12 kB / 0.7714 GB, free: 24.11 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.3493, allocations: 51.72 kB / 0.7714 GB, free: 24.06 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004953/0.3498, allocations: 51.75 kB / 0.7715 GB, free: 24.01 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.3498, allocations: 4 kB / 0.7715 GB, free: 24.01 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.3499, allocations: 55.97 kB / 0.7715 GB, free: 23.95 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.934e-05/0.35, allocations: 19.92 kB / 0.7715 GB, free: 23.93 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.35, allocations: 47.67 kB / 0.7716 GB, free: 23.89 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.3502, allocations: 154.2 kB / 0.7717 GB, free: 23.74 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3503, allocations: 0 / 0.7717 GB, free: 23.74 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3503, allocations: 0 / 0.7717 GB, free: 23.74 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3503, allocations: 0 / 0.7717 GB, free: 23.74 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005596/0.3508, allocations: 438.8 kB / 0.7722 GB, free: 23.26 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3509, allocations: 8.031 kB / 0.7722 GB, free: 23.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/0.3509, allocations: 12.84 kB / 0.7722 GB, free: 23.24 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.3512, allocations: 213.5 kB / 0.7724 GB, free: 23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.3512, allocations: 8.375 kB / 0.7724 GB, free: 22.99 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.3512, allocations: 4.125 kB / 0.7724 GB, free: 22.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.3514, allocations: 105 kB / 0.7725 GB, free: 22.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3514, allocations: 4 kB / 0.7725 GB, free: 22.86 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3515, allocations: 0 / 0.7725 GB, free: 22.86 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3515, allocations: 4 kB / 0.7725 GB, free: 22.86 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.3516, allocations: 55.89 kB / 0.7726 GB, free: 22.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.3518, allocations: 207.5 kB / 0.7728 GB, free: 22.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.3521, allocations: 115.8 kB / 0.7729 GB, free: 22.4 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.858e-05/0.3522, allocations: 50.55 kB / 0.7729 GB, free: 22.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.3522, allocations: 4 kB / 0.7729 GB, free: 22.34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002872/0.3525, allocations: 117.9 kB / 0.773 GB, free: 22.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.3525, allocations: 0 / 0.773 GB, free: 22.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004501/0.353, allocations: 165.4 kB / 0.7732 GB, free: 22.04 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.353, allocations: 128.5 kB / 0.7733 GB, free: 21.88 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.3532, allocations: 182.6 kB / 0.7735 GB, free: 21.69 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.3532, allocations: 25.7 kB / 0.7735 GB, free: 21.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.3532, allocations: 108.1 kB / 0.7736 GB, free: 21.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.3533, allocations: 27.59 kB / 0.7736 GB, free: 21.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.3533, allocations: 21.7 kB / 0.7737 GB, free: 21.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.601e-05/0.3534, allocations: 326.8 kB / 0.774 GB, free: 21.17 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-05/0.3535, allocations: 31.97 kB / 0.774 GB, free: 21.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.92e-05/0.3536, allocations: 68.22 kB / 0.7741 GB, free: 21.05 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.3538, allocations: 95.33 kB / 0.7742 GB, free: 20.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3538, allocations: 4.031 kB / 0.7742 GB, free: 20.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002565/0.3541, allocations: 133.4 kB / 0.7743 GB, free: 20.81 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3541, allocations: 4 kB / 0.7743 GB, free: 20.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3541, allocations: 0 / 0.7743 GB, free: 20.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3541, allocations: 4 kB / 0.7743 GB, free: 20.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.3542, allocations: 27.91 kB / 0.7743 GB, free: 20.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3543, allocations: 0 / 0.7743 GB, free: 20.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.387e-05/0.3543, allocations: 16 kB / 0.7743 GB, free: 20.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.3544, allocations: 4 kB / 0.7743 GB, free: 20.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 8.005e-05/0.3544, allocations: 130 kB / 0.7745 GB, free: 20.62 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.3545, allocations: 11.91 kB / 0.7745 GB, free: 20.61 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.3545, allocations: 21.39 kB / 0.7745 GB, free: 20.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3545, allocations: 8 kB / 0.7745 GB, free: 20.58 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3545, allocations: 0 / 0.7745 GB, free: 20.58 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3546, allocations: 0 / 0.7745 GB, free: 20.58 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.3547, allocations: 209.4 kB / 0.7747 GB, free: 20.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3547, allocations: 4 kB / 0.7747 GB, free: 20.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.823e-05/0.3548, allocations: 19.92 kB / 0.7747 GB, free: 20.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3548, allocations: 0 / 0.7747 GB, free: 20.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3548, allocations: 4 kB / 0.7747 GB, free: 20.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3548, allocations: 0 / 0.7747 GB, free: 20.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3548, allocations: 0 / 0.7747 GB, free: 20.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004755/0.3553, allocations: 0.7621 MB / 0.7755 GB, free: 19.47 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/0.3553, allocations: 88.92 kB / 0.7756 GB, free: 19.36 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.3554, allocations: 4 kB / 0.7756 GB, free: 19.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.3554, allocations: 7.984 kB / 0.7756 GB, free: 19.35 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.3555, allocations: 15.92 kB / 0.7756 GB, free: 19.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.3555, allocations: 8 kB / 0.7756 GB, free: 19.33 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.554e-05/0.3556, allocations: 127.2 kB / 0.7757 GB, free: 19.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3556, allocations: 0 / 0.7757 GB, free: 19.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003368/0.3559, allocations: 35.98 kB / 0.7757 GB, free: 19.17 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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: 0 * Record equations: 0 * When equations: 2 * 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.000927/0.3569, allocations: 460.5 kB / 0.7762 GB, free: 18.89 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002706/0.3572, allocations: 83.88 kB / 0.7763 GB, free: 18.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3572, allocations: 0 / 0.7763 GB, free: 18.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.3573, allocations: 35.98 kB / 0.7763 GB, free: 18.77 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.3576, allocations: 38.97 kB / 0.7763 GB, free: 18.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/0.358, allocations: 397.5 kB / 0.7767 GB, free: 18.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.3582, allocations: 0.7043 MB / 0.7774 GB, free: 17.57 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.573e-05/0.3582, allocations: 16.88 kB / 0.7774 GB, free: 17.55 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.3583, allocations: 19.42 kB / 0.7774 GB, free: 17.53 MB / 458.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3583, allocations: 8 kB / 0.7774 GB, free: 17.52 MB / 458.7 MB Notification: Performance of Templates: time 0.003975/0.3623, allocations: 1.971 MB / 0.7794 GB, free: 15.58 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)