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.0009895/0.0009895, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001044/0.001044, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 1.035/1.035, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.001702/0.001702, allocations: 234.3 kB / 261.3 MB, free: 12.64 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.7885/0.7885, allocations: 138.4 MB / 456.3 MB, free: 1.371 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.634e-06/1.634e-06, allocations: 0 / 0.5563 GB, free: 284 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.05e-05, allocations: 9.828 kB / 0.5563 GB, free: 276 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.NetCDF_DataReader.ExampleNcDataReader): time 0.001273/0.001303, allocations: 0.635 MB / 0.5569 GB, free: 15.63 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008533/0.002156, allocations: 0.9389 MB / 0.5579 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.002198, allocations: 0 / 0.5579 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.002316, allocations: 3.984 kB / 0.5579 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.002485, allocations: 19.88 kB / 0.5579 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001049/0.00259, allocations: 55.75 kB / 0.5579 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.679e-05/0.002667, allocations: 19.92 kB / 0.5579 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.538e-05/0.002702, allocations: 0 / 0.5579 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.39e-05/0.002746, allocations: 19.97 kB / 0.558 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.943e-05/0.002806, allocations: 15.92 kB / 0.558 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.00282, allocations: 4 kB / 0.558 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.002939, allocations: 63.94 kB / 0.558 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/0.002999, allocations: 27.91 kB / 0.5581 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.003019, allocations: 7.938 kB / 0.5581 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.003156, allocations: 91.7 kB / 0.5582 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003158, allocations: 0 / 0.5582 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.003162, allocations: 7.984 kB / 0.5582 GB, free: 14.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.003165, allocations: 0 / 0.5582 GB, free: 14.36 MB / 490.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.0003264/0.003492, allocations: 465.5 kB / 0.5586 GB, free: 13.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.003524, allocations: 8.75 kB / 0.5586 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003055/0.00383, allocations: 72.77 kB / 0.5587 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.003967, allocations: 148.4 kB / 0.5588 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.00399, allocations: 12.38 kB / 0.5589 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.003999, allocations: 384 / 0.5589 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.004246, allocations: 212.5 kB / 0.5591 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.004253, allocations: 4.188 kB / 0.5591 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.004261, allocations: 384 / 0.5591 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.004266, allocations: 384 / 0.5591 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.004396, allocations: 165.4 kB / 0.5592 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001056/0.004502, allocations: 117.2 kB / 0.5593 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.004642, allocations: 184.6 kB / 0.5595 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.004752, allocations: 165.3 kB / 0.5597 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-06/0.004757, allocations: 3.984 kB / 0.5597 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.004777, allocations: 37.39 kB / 0.5597 GB, free: 12.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 7.72e-07/0.004778, allocations: 0 / 0.5597 GB, free: 12.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004447/0.005223, allocations: 0.4905 MB / 0.5602 GB, free: 12.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.005268, allocations: 93.08 kB / 0.5603 GB, free: 12.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.005382, allocations: 225.9 kB / 0.5605 GB, free: 11.78 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.005395, allocations: 25.7 kB / 0.5605 GB, free: 11.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.005456, allocations: 162.8 kB / 0.5607 GB, free: 11.58 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.005489, allocations: 27.73 kB / 0.5607 GB, free: 11.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.005528, allocations: 31.39 kB / 0.5607 GB, free: 11.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.005644, allocations: 0.5039 MB / 0.5612 GB, free: 11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.005765, allocations: 153.6 kB / 0.5614 GB, free: 10.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.005877, allocations: 157.6 kB / 0.5615 GB, free: 10.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.00605, allocations: 242.9 kB / 0.5617 GB, free: 10.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.006052, allocations: 3.938 kB / 0.5617 GB, free: 10.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002648/0.006317, allocations: 348.7 kB / 0.5621 GB, free: 10.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.006356, allocations: 45.67 kB / 0.5621 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.006361, allocations: 4.031 kB / 0.5621 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.00637, allocations: 0 / 0.5621 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-07/0.006371, allocations: 0 / 0.5621 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.006373, allocations: 4 kB / 0.5621 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.006442, allocations: 15.94 kB / 0.5621 GB, free: 9.992 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.006453, allocations: 7.938 kB / 0.5622 GB, free: 9.984 MB / 490.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 9.674e-05/0.00655, allocations: 206.2 kB / 0.5623 GB, free: 9.766 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.00657, allocations: 11.95 kB / 0.5624 GB, free: 9.754 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.426e-05/0.006584, allocations: 13.47 kB / 0.5624 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.006586, allocations: 0 / 0.5624 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.006589, allocations: 4 kB / 0.5624 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.006592, allocations: 0 / 0.5624 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.537e-05/0.006678, allocations: 133.1 kB / 0.5625 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.006679, allocations: 0 / 0.5625 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.00668, allocations: 0 / 0.5625 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.006681, allocations: 0 / 0.5625 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.00669, allocations: 4 kB / 0.5625 GB, free: 9.578 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.006691, allocations: 0 / 0.5625 GB, free: 9.578 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.006692, allocations: 0 / 0.5625 GB, free: 9.578 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.007019, allocations: 403.6 kB / 0.5629 GB, free: 9.148 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.007031, allocations: 11.89 kB / 0.5629 GB, free: 9.137 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.007045, allocations: 4 kB / 0.5629 GB, free: 9.133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.338e-05/0.007099, allocations: 15.97 kB / 0.5629 GB, free: 9.117 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.007113, allocations: 0 / 0.5629 GB, free: 9.117 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.007121, allocations: 8.031 kB / 0.5629 GB, free: 9.109 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.38e-05/0.007184, allocations: 159.1 kB / 0.5631 GB, free: 8.953 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007184, allocations: 0 / 0.5631 GB, free: 8.953 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001516/0.007336, allocations: 20 kB / 0.5631 GB, free: 8.934 MB / 490.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.0003176/0.007654, allocations: 155.9 kB / 0.5633 GB, free: 8.801 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003347/0.007988, allocations: 418.1 kB / 0.5636 GB, free: 8.363 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.00799, allocations: 0 / 0.5636 GB, free: 8.363 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.008142, allocations: 252.6 kB / 0.5639 GB, free: 8.094 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.008295, allocations: 27.81 kB / 0.5639 GB, free: 8.066 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.008679, allocations: 387.8 kB / 0.5643 GB, free: 7.648 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.177e-05/0.00872, allocations: 71.33 kB / 0.5644 GB, free: 7.559 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.078e-05/0.008731, allocations: 7.953 kB / 0.5644 GB, free: 7.551 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.008832, allocations: 90.16 kB / 0.5644 GB, free: 7.461 MB / 490.7 MB Notification: Performance of SimCode: time 8.12e-07/0.008832, allocations: 0 / 0.5644 GB, free: 7.461 MB / 490.7 MB Notification: Performance of Templates: time 0.004013/0.01285, allocations: 2.351 MB / 0.5667 GB, free: 5.121 MB / 490.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: 4.081605372950435]