Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.NetCDF_DataReader.ExampleNcDataReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009888/0.0009888, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9589/0.9589, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.005149/0.005149, allocations: 245.8 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7057/0.7057, allocations: 138.4 MB / 402.2 MB, free: 0.5781 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.NetCDF_DataReader.ExampleNcDataReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.NetCDF_DataReader.ExampleNcDataReader") translateModel(BuildingSystems.Utilities.NetCDF_DataReader.ExampleNcDataReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.NetCDF_DataReader.ExampleNcDataReader") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 462.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/2.03e-05, allocations: 2.312 kB / 462.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.NetCDF_DataReader.ExampleNcDataReader): time 0.00215/0.00217, allocations: 0.6389 MB / 462.9 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.003421, allocations: 0.9453 MB / 463.8 MB, free: 15.92 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.357e-05/0.003464, allocations: 1.031 kB / 463.8 MB, free: 15.92 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.003597, allocations: 8.109 kB / 463.9 MB, free: 15.92 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.003821, allocations: 26.05 kB / 463.9 MB, free: 15.9 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.003999, allocations: 46.2 kB / 463.9 MB, free: 15.88 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.609e-05/0.004095, allocations: 27.22 kB / 464 MB, free: 15.88 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.004132, allocations: 3.453 kB / 464 MB, free: 15.88 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.004194, allocations: 14.28 kB / 464 MB, free: 15.87 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.725e-05/0.004271, allocations: 13.14 kB / 464 MB, free: 15.87 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.004286, allocations: 1.281 kB / 464 MB, free: 15.87 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.004474, allocations: 58.66 kB / 464 MB, free: 15.86 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.988e-05/0.004553, allocations: 35.16 kB / 464.1 MB, free: 15.85 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.913e-05/0.004583, allocations: 14.16 kB / 464.1 MB, free: 15.84 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.004779, allocations: 104.4 kB / 464.2 MB, free: 15.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.004781, allocations: 0 / 464.2 MB, free: 15.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.004783, allocations: 0 / 464.2 MB, free: 15.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.004786, allocations: 0 / 464.2 MB, free: 15.8 MB / 426.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.000371/0.005157, allocations: 328.7 kB / 464.5 MB, free: 15.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.005193, allocations: 12.06 kB / 464.5 MB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004283/0.005621, allocations: 63.23 kB / 464.6 MB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.005805, allocations: 144.8 kB / 464.7 MB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.005838, allocations: 9.547 kB / 464.7 MB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.005854, allocations: 1.594 kB / 464.7 MB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.006243, allocations: 216.6 kB / 464.9 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.006251, allocations: 1.312 kB / 464.9 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.006263, allocations: 384 / 464.9 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.006269, allocations: 384 / 465 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.006489, allocations: 163.3 kB / 465.1 MB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001031/0.006592, allocations: 69.05 kB / 465.2 MB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.00689, allocations: 173.2 kB / 465.3 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.007028, allocations: 161 kB / 465.5 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-06/0.007033, allocations: 0 / 465.5 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.007055, allocations: 33.39 kB / 465.5 MB, free: 14.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.007057, allocations: 3.938 kB / 465.5 MB, free: 14.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006215/0.007679, allocations: 477.8 kB / 466 MB, free: 14.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.007743, allocations: 91.16 kB / 466.1 MB, free: 14.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.007912, allocations: 161.3 kB / 466.3 MB, free: 14.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.00793, allocations: 26.86 kB / 466.3 MB, free: 14.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.007972, allocations: 96.42 kB / 466.4 MB, free: 14.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.008022, allocations: 26.56 kB / 466.4 MB, free: 14.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.008082, allocations: 22.72 kB / 466.4 MB, free: 14.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.008211, allocations: 331.2 kB / 466.7 MB, free: 14.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.008389, allocations: 153.5 kB / 466.9 MB, free: 13.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.008548, allocations: 158.8 kB / 467.1 MB, free: 13.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.008808, allocations: 255.4 kB / 467.3 MB, free: 13.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.008811, allocations: 0.75 kB / 467.3 MB, free: 13.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003416/0.009152, allocations: 307.1 kB / 467.6 MB, free: 13.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/0.009207, allocations: 50.86 kB / 467.7 MB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.009213, allocations: 0 / 467.7 MB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.009227, allocations: 0 / 467.7 MB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.474e-06/0.009234, allocations: 9.547 kB / 467.7 MB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.009237, allocations: 0 / 467.7 MB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.009346, allocations: 8.812 kB / 467.7 MB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.00936, allocations: 4.766 kB / 467.7 MB, free: 13.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001129/0.009473, allocations: 168.5 kB / 467.8 MB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.009498, allocations: 8 kB / 467.8 MB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.009522, allocations: 17.45 kB / 467.9 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.009525, allocations: 0 / 467.9 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.009527, allocations: 0 / 467.9 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.00953, allocations: 0 / 467.9 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.009637, allocations: 99 kB / 468 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.009638, allocations: 1.062 kB / 468 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-06/0.00964, allocations: 0 / 468 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.009643, allocations: 2.438 kB / 468 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.009659, allocations: 11.98 kB / 468 MB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.009661, allocations: 1.344 kB / 468 MB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.009662, allocations: 0 / 468 MB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.01007, allocations: 361.8 kB / 468.3 MB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.272e-05/0.01009, allocations: 11.94 kB / 468.3 MB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.01011, allocations: 1 kB / 468.3 MB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.497e-05/0.01017, allocations: 9.188 kB / 468.4 MB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.778e-05/0.01019, allocations: 3.984 kB / 468.4 MB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.0102, allocations: 4.5 kB / 468.4 MB, free: 12.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.011e-05/0.01024, allocations: 46.56 kB / 468.4 MB, free: 12.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01024, allocations: 4.938 kB / 468.4 MB, free: 12.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001237/0.01036, allocations: 20 kB / 468.4 MB, free: 12.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003378/0.0107, allocations: 170.8 kB / 468.6 MB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000309/0.01101, allocations: 416.2 kB / 469 MB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.01101, allocations: 4 kB / 469 MB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.01115, allocations: 242.6 kB / 469.2 MB, free: 11.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.712e-05/0.01124, allocations: 17.05 kB / 469.3 MB, free: 11.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.0116, allocations: 394.6 kB / 469.6 MB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.477e-05/0.01163, allocations: 67.92 kB / 469.7 MB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.795e-06/0.01164, allocations: 0 / 469.7 MB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.117e-05/0.01173, allocations: 72.03 kB / 469.8 MB, free: 10.9 MB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/0.01173, allocations: 0.5938 kB / 469.8 MB, free: 10.9 MB / 426.7 MB Notification: Performance of Templates: time 0.003434/0.01517, allocations: 2.303 MB / 472.1 MB, free: 8.75 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.NetCDF_DataReader.ExampleNcDataReader.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.NetCDF_DataReader.ExampleNcDataReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.NetCDF_DataReader.ExampleNcDataReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.NetCDF_DataReader.ExampleNcDataReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.NetCDF_DataReader.ExampleNcDataReader.sim & ./BuildingSystems_BuildingSystems.Utilities.NetCDF_DataReader.ExampleNcDataReader -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.NetCDF_DataReader.ExampleNcDataReader.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8984605339355767]