Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 112.5 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 198 kB / 20.08 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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.002283/0.002283, allocations: 282 kB / 303.6 MB, free: 3.707 MB / 238.1 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.998/0.998, allocations: 180.9 MB / 0.5268 GB, free: 2.68 MB / 382.1 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.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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002688/0.002688, allocations: 103.8 kB / 0.726 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4986/0.5012, allocations: 94.16 MB / 0.8179 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001551/0.5028, allocations: 0.6108 MB / 0.8185 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.5042, allocations: 1.405 MB / 0.8199 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.5042, allocations: 0 / 0.8199 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.696e-05/0.5043, allocations: 1.312 kB / 0.8199 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.697e-05/0.5043, allocations: 5.312 kB / 0.8199 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.5049, allocations: 183.1 kB / 0.8201 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.505, allocations: 45.36 kB / 0.8201 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.505, allocations: 1.5 kB / 0.8201 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.328e-05/0.5051, allocations: 20.92 kB / 0.8201 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.33e-05/0.5051, allocations: 30.11 kB / 0.8202 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.5051, allocations: 3.219 kB / 0.8202 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.5054, allocations: 213.1 kB / 0.8204 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.5055, allocations: 14.23 kB / 0.8204 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.5055, allocations: 21.44 kB / 0.8204 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.5057, allocations: 188 kB / 0.8206 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5057, allocations: 4 kB / 0.8206 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5057, allocations: 0 / 0.8206 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.5057, allocations: 0 / 0.8206 GB, free: 5.82 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003271/0.5061, allocations: 454.8 kB / 0.821 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.5061, allocations: 8.375 kB / 0.821 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.5061, allocations: 4.688 kB / 0.821 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.714e-05/0.5062, allocations: 174 kB / 0.8212 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.5062, allocations: 2.875 kB / 0.8212 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.5062, allocations: 3.219 kB / 0.8212 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.5064, allocations: 105.4 kB / 0.8213 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.5064, allocations: 0 / 0.8213 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.5064, allocations: 0.9062 kB / 0.8213 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.5064, allocations: 1.156 kB / 0.8213 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.945e-05/0.5065, allocations: 60.95 kB / 0.8214 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001103/0.5066, allocations: 173.5 kB / 0.8215 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.5067, allocations: 75.58 kB / 0.8216 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.632e-05/0.5068, allocations: 73.44 kB / 0.8217 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.5068, allocations: 4 kB / 0.8217 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.5068, allocations: 39.75 kB / 0.8217 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.5068, allocations: 1.469 kB / 0.8217 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0003621/0.5072, allocations: 258.8 kB / 0.822 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.5072, allocations: 80.52 kB / 0.822 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.772e-05/0.5073, allocations: 141.9 kB / 0.8222 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.5073, allocations: 27.44 kB / 0.8222 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.716e-05/0.5073, allocations: 93.27 kB / 0.8223 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.5074, allocations: 24.19 kB / 0.8223 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.5074, allocations: 26.69 kB / 0.8223 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.892e-05/0.5075, allocations: 316.2 kB / 0.8226 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.5076, allocations: 101.6 kB / 0.8227 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.612e-05/0.5076, allocations: 102 kB / 0.8228 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.5079, allocations: 283.3 kB / 0.8231 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5079, allocations: 0 / 0.8231 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002679/0.5081, allocations: 321.4 kB / 0.8234 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.5082, allocations: 77.14 kB / 0.8235 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.5082, allocations: 3.875 kB / 0.8235 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.5082, allocations: 0 / 0.8235 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.5082, allocations: 0 / 0.8235 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.5082, allocations: 0.5625 kB / 0.8235 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.5083, allocations: 14.73 kB / 0.8235 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.5083, allocations: 2.844 kB / 0.8235 GB, free: 3.672 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 6.84e-05/0.5084, allocations: 148.6 kB / 0.8236 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.5084, allocations: 12.17 kB / 0.8237 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.347e-05/0.5084, allocations: 12.91 kB / 0.8237 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.5084, allocations: 0.7031 kB / 0.8237 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.5084, allocations: 2.812 kB / 0.8237 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.5084, allocations: 0 / 0.8237 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.572e-05/0.5085, allocations: 168.2 kB / 0.8238 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5085, allocations: 3.938 kB / 0.8238 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.804e-06/0.5085, allocations: 4.453 kB / 0.8238 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.5085, allocations: 0 / 0.8238 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.5085, allocations: 3.047 kB / 0.8238 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.5085, allocations: 0 / 0.8238 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5085, allocations: 5.156 kB / 0.8238 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.5088, allocations: 228.3 kB / 0.8241 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.5088, allocations: 88.08 kB / 0.8241 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.5088, allocations: 3.609 kB / 0.8241 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.425e-05/0.5088, allocations: 7.375 kB / 0.8242 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.5089, allocations: 7.906 kB / 0.8242 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.5089, allocations: 0 / 0.8242 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.771e-05/0.5089, allocations: 114.6 kB / 0.8243 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5089, allocations: 0 / 0.8243 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002594/0.5092, allocations: 62.17 kB / 0.8243 GB, free: 2.988 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * 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.0002236/0.5094, allocations: 155.3 kB / 0.8245 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.5098, allocations: 331.7 kB / 0.8248 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5098, allocations: 0 / 0.8248 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.936e-05/0.5099, allocations: 127 kB / 0.8249 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.51, allocations: 11.7 kB / 0.8249 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.5103, allocations: 249.6 kB / 0.8252 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.988e-05/0.5104, allocations: 0.6918 MB / 0.8258 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-06/0.5104, allocations: 7.438 kB / 0.8258 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.5104, allocations: 0 / 0.8258 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of Templates: time 0.003371/0.5138, allocations: 1.673 MB / 0.8275 GB, free: 1.629 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.17277635098435] Failed to read output from testmodel.py, exit status != 0: 0.5208997069858015 0.532291246 0.023923677 Calling exit ...