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.0007461/0.0007461, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001346/0.002092, allocations: 444 kB / 10.41 MB, free: 276 kB / 10.45 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.001201/0.001201, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001666/0.002867, allocations: 475.6 kB / 11.79 MB, free: 2.371 MB / 13.93 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.047/1.047, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09408/1.141, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001657/0.001657, allocations: 231.9 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003397/0.005054, allocations: 482.9 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7128/0.7128, allocations: 138.7 MB / 384.3 MB, free: 368 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0671/0.7799, allocations: 42.41 MB / 426.7 MB, free: 5.816 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.283e-06/1.283e-06, allocations: 0 / 428 MB, free: 4.527 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.379e-05/1.507e-05, allocations: 6.312 kB / 428 MB, free: 4.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.NetCDF_DataReader.ExampleNcDataReader): time 0.001124/0.001139, allocations: 0.6859 MB / 428.7 MB, free: 3.832 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007449/0.001884, allocations: 0.9704 MB / 429.7 MB, free: 2.859 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.001919, allocations: 0 / 429.7 MB, free: 2.859 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.42e-05/0.001993, allocations: 7.938 kB / 429.7 MB, free: 2.852 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.621e-05/0.002079, allocations: 19.92 kB / 429.7 MB, free: 2.832 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.386e-05/0.002163, allocations: 39.81 kB / 429.7 MB, free: 2.793 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.651e-05/0.002239, allocations: 27.92 kB / 429.8 MB, free: 2.766 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.31e-05/0.002273, allocations: 3.984 kB / 429.8 MB, free: 2.762 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.524e-05/0.002338, allocations: 19.94 kB / 429.8 MB, free: 2.742 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.392e-05/0.002392, allocations: 19.92 kB / 429.8 MB, free: 2.723 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.002405, allocations: 0 / 429.8 MB, free: 2.723 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.002548, allocations: 71.86 kB / 429.9 MB, free: 2.652 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.541e-05/0.002603, allocations: 31.86 kB / 429.9 MB, free: 2.621 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.002625, allocations: 15.94 kB / 429.9 MB, free: 2.605 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.002756, allocations: 79.72 kB / 430 MB, free: 2.527 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.467e-06/0.002766, allocations: 0 / 430 MB, free: 2.527 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.002766, allocations: 0 / 430 MB, free: 2.527 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.002777, allocations: 0 / 430 MB, free: 2.527 MB / 410.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.0003534/0.00313, allocations: 345.6 kB / 430.3 MB, free: 2.156 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.003163, allocations: 19.98 kB / 430.4 MB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003327/0.003496, allocations: 137.9 kB / 430.5 MB, free: 1.984 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.003649, allocations: 149.5 kB / 430.6 MB, free: 1.812 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.003675, allocations: 12.38 kB / 430.7 MB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.003689, allocations: 384 / 430.7 MB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.003961, allocations: 220.5 kB / 430.9 MB, free: 1.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.00397, allocations: 4.172 kB / 430.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.00398, allocations: 384 / 430.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.003985, allocations: 384 / 430.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.00413, allocations: 165.5 kB / 431 MB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.362e-05/0.004213, allocations: 65.03 kB / 431.1 MB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.004352, allocations: 180.2 kB / 431.3 MB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.004455, allocations: 158.5 kB / 431.4 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-06/0.004458, allocations: 0 / 431.4 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.004481, allocations: 42.55 kB / 431.5 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 6.11e-07/0.004482, allocations: 0 / 431.5 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003588/0.004841, allocations: 478.4 kB / 431.9 MB, free: 432 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.004864, allocations: 51.41 kB / 432 MB, free: 368 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.588e-05/0.00495, allocations: 158.7 kB / 432.1 MB, free: 196 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.004967, allocations: 25.7 kB / 432.2 MB, free: 164 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.66e-05/0.004993, allocations: 104.1 kB / 432.3 MB, free: 56 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.005023, allocations: 15.8 kB / 432.3 MB, free: 40 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.005056, allocations: 17.7 kB / 432.3 MB, free: 16 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2047/0.2098, allocations: 329 kB / 432.6 MB, free: 2.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.21, allocations: 158.2 kB / 432.8 MB, free: 2.648 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.2101, allocations: 155.9 kB / 432.9 MB, free: 2.617 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.2103, allocations: 259.4 kB / 433.2 MB, free: 2.543 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2103, allocations: 0 / 433.2 MB, free: 2.543 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00026/0.2106, allocations: 322 kB / 433.5 MB, free: 2.449 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.856e-05/0.2106, allocations: 50.77 kB / 433.5 MB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2106, allocations: 4.219 kB / 433.6 MB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2106, allocations: 1.875 kB / 433.6 MB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.184e-06/0.2106, allocations: 0.875 kB / 433.6 MB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.2106, allocations: 0 / 433.6 MB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.906e-05/0.2107, allocations: 14.27 kB / 433.6 MB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.2108, allocations: 12.34 kB / 433.6 MB, free: 2.418 MB / 410.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 7.624e-05/0.2108, allocations: 159.6 kB / 433.7 MB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.2108, allocations: 9.453 kB / 433.7 MB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.922e-05/0.2109, allocations: 9.531 kB / 433.8 MB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2109, allocations: 1.547 kB / 433.8 MB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.2109, allocations: 7.875 kB / 433.8 MB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2109, allocations: 3.516 kB / 433.8 MB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.314e-05/0.2109, allocations: 85.41 kB / 433.9 MB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2109, allocations: 0 / 433.9 MB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/0.2109, allocations: 0.5938 kB / 433.9 MB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.2109, allocations: 10.95 kB / 433.9 MB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.2109, allocations: 0.6875 kB / 433.9 MB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.211, allocations: 7.266 kB / 433.9 MB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.211, allocations: 0.6562 kB / 433.9 MB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.211, allocations: 3.312 kB / 433.9 MB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.2112, allocations: 373.7 kB / 434.2 MB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.2113, allocations: 2.047 kB / 434.2 MB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.678e-05/0.2113, allocations: 14.5 kB / 434.3 MB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.2113, allocations: 4.344 kB / 434.3 MB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.2113, allocations: 3.609 kB / 434.3 MB, free: 2.055 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.343e-05/0.2114, allocations: 45.11 kB / 434.3 MB, free: 2.047 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2114, allocations: 0 / 434.3 MB, free: 2.047 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001263/0.2115, allocations: 28.38 kB / 434.3 MB, free: 2.043 MB / 410.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.0005714/0.2121, allocations: 158.3 kB / 434.5 MB, free: 1.973 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003678/0.2125, allocations: 427.2 kB / 434.9 MB, free: 1.832 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.2125, allocations: 7.172 kB / 434.9 MB, free: 1.832 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.2127, allocations: 306 kB / 435.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.2128, allocations: 52.69 kB / 435.3 MB, free: 1.648 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.2132, allocations: 398.4 kB / 435.7 MB, free: 1.477 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.123e-05/0.2132, allocations: 74.03 kB / 435.7 MB, free: 1.406 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.809e-06/0.2132, allocations: 3.422 kB / 435.7 MB, free: 1.406 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.091e-05/0.2133, allocations: 65.16 kB / 435.8 MB, free: 1.363 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2133, allocations: 0.5938 kB / 435.8 MB, free: 1.363 MB / 410.7 MB Notification: Performance of Templates: time 0.004093/0.2174, allocations: 2.315 MB / 438.1 MB, free: 1.215 MB / 410.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.7437722254544497]