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.001291/0.001291, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.0009634/0.0009634, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9417/0.9417, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.001581/0.001581, allocations: 234 kB / 260.5 MB, free: 12.67 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.801/0.801, allocations: 138.4 MB / 455.5 MB, free: 30.03 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 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.673e-06/1.673e-06, allocations: 0 / 0.5555 GB, free: 15.92 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.663e-05, allocations: 2.969 kB / 0.5555 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.NetCDF_DataReader.ExampleNcDataReader): time 0.001144/0.001161, allocations: 0.6369 MB / 0.5561 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009724/0.002133, allocations: 0.935 MB / 0.5571 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/0.002193, allocations: 0 / 0.5571 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.002322, allocations: 7.938 kB / 0.5571 GB, free: 14.33 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.002481, allocations: 19.84 kB / 0.5571 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.765e-05/0.002578, allocations: 47.88 kB / 0.5571 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.742e-05/0.002656, allocations: 19.92 kB / 0.5572 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.002689, allocations: 12 kB / 0.5572 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.714e-05/0.002736, allocations: 11.92 kB / 0.5572 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.83e-05/0.002795, allocations: 11.98 kB / 0.5572 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.002809, allocations: 4 kB / 0.5572 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.002932, allocations: 63.88 kB / 0.5573 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.678e-05/0.002989, allocations: 27.91 kB / 0.5573 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.003013, allocations: 15.92 kB / 0.5573 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.003153, allocations: 95.59 kB / 0.5574 GB, free: 14.01 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.003156, allocations: 4 kB / 0.5574 GB, free: 14 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003157, allocations: 0 / 0.5574 GB, free: 14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.003161, allocations: 4 kB / 0.5574 GB, free: 14 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.0003308/0.003491, allocations: 465.6 kB / 0.5578 GB, free: 13.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.003527, allocations: 9.938 kB / 0.5578 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/0.003813, allocations: 64.77 kB / 0.5579 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.003924, allocations: 149.7 kB / 0.558 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.003943, allocations: 12.38 kB / 0.5581 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.003951, allocations: 8.359 kB / 0.5581 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.004182, allocations: 216.4 kB / 0.5583 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.004187, allocations: 192 / 0.5583 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.004195, allocations: 384 / 0.5583 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.004199, allocations: 384 / 0.5583 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.00432, allocations: 169.4 kB / 0.5584 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.472e-05/0.004414, allocations: 117.3 kB / 0.5585 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.004537, allocations: 180.6 kB / 0.5587 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.004643, allocations: 161.3 kB / 0.5589 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-06/0.004646, allocations: 4 kB / 0.5589 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.004666, allocations: 45.33 kB / 0.5589 GB, free: 12.28 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.004668, allocations: 0 / 0.5589 GB, free: 12.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004128/0.00508, allocations: 498.4 kB / 0.5594 GB, free: 11.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.005117, allocations: 97.08 kB / 0.5595 GB, free: 11.65 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004994/0.005616, allocations: 223.6 kB / 0.5597 GB, free: 11.42 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.005628, allocations: 25.7 kB / 0.5597 GB, free: 11.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.005676, allocations: 158.8 kB / 0.5599 GB, free: 11.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.005704, allocations: 19.78 kB / 0.5599 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.005741, allocations: 31.36 kB / 0.5599 GB, free: 11.17 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.005856, allocations: 0.5 MB / 0.5604 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.005974, allocations: 157.6 kB / 0.5606 GB, free: 10.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.006082, allocations: 157.6 kB / 0.5607 GB, free: 10.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.006252, allocations: 254.8 kB / 0.561 GB, free: 10.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.006254, allocations: 0 / 0.561 GB, free: 10.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002581/0.006512, allocations: 344.8 kB / 0.5613 GB, free: 9.715 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.006547, allocations: 49.67 kB / 0.5613 GB, free: 9.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.006551, allocations: 0 / 0.5613 GB, free: 9.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.006562, allocations: 4 kB / 0.5613 GB, free: 9.656 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.006562, allocations: 0 / 0.5613 GB, free: 9.656 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.006565, allocations: 0 / 0.5613 GB, free: 9.656 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.345e-05/0.006628, allocations: 11.98 kB / 0.5614 GB, free: 9.645 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.006638, allocations: 7.969 kB / 0.5614 GB, free: 9.637 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 8.824e-05/0.006726, allocations: 202.2 kB / 0.5616 GB, free: 9.422 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.006743, allocations: 15.91 kB / 0.5616 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.933e-05/0.006762, allocations: 17.45 kB / 0.5616 GB, free: 9.387 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.006764, allocations: 3.938 kB / 0.5616 GB, free: 9.383 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.006765, allocations: 0 / 0.5616 GB, free: 9.383 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.006769, allocations: 4 kB / 0.5616 GB, free: 9.379 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.669e-05/0.006846, allocations: 125.1 kB / 0.5617 GB, free: 9.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.006848, allocations: 4 kB / 0.5617 GB, free: 9.227 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-07/0.006848, allocations: 0 / 0.5617 GB, free: 9.227 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.006852, allocations: 15.92 kB / 0.5617 GB, free: 9.211 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.006859, allocations: 0 / 0.5617 GB, free: 9.211 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.006859, allocations: 0 / 0.5617 GB, free: 9.211 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.00686, allocations: 0 / 0.5617 GB, free: 9.211 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.007216, allocations: 395.4 kB / 0.5621 GB, free: 8.789 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.007228, allocations: 11.89 kB / 0.5621 GB, free: 8.777 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.007241, allocations: 4.031 kB / 0.5621 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.516e-05/0.007306, allocations: 12 kB / 0.5621 GB, free: 8.762 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.007324, allocations: 7.984 kB / 0.5621 GB, free: 8.754 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.007333, allocations: 7.984 kB / 0.5621 GB, free: 8.746 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.778e-05/0.007391, allocations: 159.1 kB / 0.5623 GB, free: 8.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007391, allocations: 0 / 0.5623 GB, free: 8.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001377/0.007529, allocations: 27.92 kB / 0.5623 GB, free: 8.562 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.0002498/0.007779, allocations: 161.4 kB / 0.5625 GB, free: 8.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002937/0.008072, allocations: 410.2 kB / 0.5629 GB, free: 8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.008074, allocations: 0 / 0.5629 GB, free: 8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.008212, allocations: 252.6 kB / 0.5631 GB, free: 7.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.008342, allocations: 11.94 kB / 0.5631 GB, free: 7.719 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.008675, allocations: 395.7 kB / 0.5635 GB, free: 7.297 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.437e-05/0.008709, allocations: 75.45 kB / 0.5636 GB, free: 7.203 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.498e-06/0.008719, allocations: 4 kB / 0.5636 GB, free: 7.199 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.811e-05/0.008807, allocations: 86.19 kB / 0.5637 GB, free: 7.113 MB / 490.7 MB Notification: Performance of SimCode: time 4.81e-07/0.008807, allocations: 0 / 0.5637 GB, free: 7.113 MB / 490.7 MB Notification: Performance of Templates: time 0.003321/0.01213, allocations: 2.318 MB / 0.5659 GB, free: 4.809 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: 3.901084415614605]