Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.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.001437/0.001437, 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.001483/0.001483, 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.344/1.344, allocations: 225.6 MB / 248.5 MB, free: 3.609 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.002306/0.002306, allocations: 283.7 kB / 303.6 MB, free: 3.699 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.9949/0.9949, allocations: 180.9 MB / 0.5268 GB, free: 2.684 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.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00267/0.00267, allocations: 99.84 kB / 0.726 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.478/0.4807, allocations: 94.15 MB / 0.8179 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001615/0.4823, allocations: 0.6371 MB / 0.8185 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004184/0.4827, allocations: 202.8 kB / 0.8187 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.362e-05/0.4827, allocations: 0 / 0.8187 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.359e-05/0.4827, allocations: 4.906 kB / 0.8187 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.4829, allocations: 12.75 kB / 0.8187 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.4831, allocations: 77.52 kB / 0.8188 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.628e-05/0.4832, allocations: 30.95 kB / 0.8188 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.4832, allocations: 9.891 kB / 0.8189 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.967e-05/0.4833, allocations: 8.688 kB / 0.8189 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.4833, allocations: 30.73 kB / 0.8189 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.4833, allocations: 1.938 kB / 0.8189 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.4835, allocations: 108.8 kB / 0.819 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.4835, allocations: 1.656 kB / 0.819 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.4835, allocations: 21.89 kB / 0.819 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.4837, allocations: 100.3 kB / 0.8191 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.4837, allocations: 1.094 kB / 0.8191 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4837, allocations: 4 kB / 0.8191 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.4837, allocations: 0 / 0.8191 GB, free: 6.754 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004183/0.4841, allocations: 377.4 kB / 0.8195 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.4841, allocations: 9.25 kB / 0.8195 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.4842, allocations: 3.312 kB / 0.8195 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.513e-05/0.4843, allocations: 173.2 kB / 0.8197 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.4843, allocations: 1.375 kB / 0.8197 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.4843, allocations: 10.19 kB / 0.8197 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.4844, allocations: 53.17 kB / 0.8197 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4844, allocations: 1.281 kB / 0.8197 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.4844, allocations: 7.938 kB / 0.8197 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.4844, allocations: 0.75 kB / 0.8197 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.4846, allocations: 30.28 kB / 0.8198 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.4848, allocations: 244.6 kB / 0.82 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.485, allocations: 80 kB / 0.8201 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.277e-05/0.485, allocations: 19.66 kB / 0.8201 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.485, allocations: 1.156 kB / 0.8201 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.255e-05/0.485, allocations: 35.69 kB / 0.8201 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.485, allocations: 4 kB / 0.8201 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.02588/0.5109, allocations: 1.607 MB / 0.8217 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.5109, allocations: 54.03 kB / 0.8217 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.142e-05/0.511, allocations: 124.3 kB / 0.8219 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.595e-05/0.5111, allocations: 25.7 kB / 0.8219 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.5111, allocations: 90.59 kB / 0.822 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.517e-05/0.5112, allocations: 38.56 kB / 0.822 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.5114, allocations: 23.06 kB / 0.822 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.5114, allocations: 323.9 kB / 0.8223 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/0.5119, allocations: 139.7 kB / 0.8225 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004501/0.5123, allocations: 148.5 kB / 0.8226 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009075/0.5132, allocations: 290.5 kB / 0.8229 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.5132, allocations: 3.938 kB / 0.8229 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001106/0.5143, allocations: 339.2 kB / 0.8232 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.5144, allocations: 8.266 kB / 0.8232 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5144, allocations: 0 / 0.8232 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.5144, allocations: 0 / 0.8232 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.5158, allocations: 62.28 kB / 0.8233 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5159, allocations: 0.6562 kB / 0.8233 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.5171, allocations: 47.66 kB / 0.8233 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/0.5172, allocations: 8.5 kB / 0.8233 GB, free: 4.578 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001514/0.5173, allocations: 116.1 kB / 0.8235 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.473e-05/0.5174, allocations: 4.078 kB / 0.8235 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.5175, allocations: 19.89 kB / 0.8235 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.5175, allocations: 4.047 kB / 0.8235 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5175, allocations: 0 / 0.8235 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.5175, allocations: 0.5625 kB / 0.8235 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005445/0.523, allocations: 0.8445 MB / 0.8243 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.523, allocations: 0 / 0.8243 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.524, allocations: 61.77 kB / 0.8244 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.524, allocations: 8.047 kB / 0.8244 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/0.5241, allocations: 8.516 kB / 0.8244 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.5241, allocations: 7.031 kB / 0.8244 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5241, allocations: 0 / 0.8244 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008573/0.5249, allocations: 323.1 kB / 0.8247 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.525, allocations: 85.88 kB / 0.8248 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/0.525, allocations: 1.625 kB / 0.8248 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.526, allocations: 42.47 kB / 0.8248 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.5261, allocations: 16.72 kB / 0.8248 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/0.5261, allocations: 0.6562 kB / 0.8248 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.195e-05/0.5261, allocations: 97.59 kB / 0.8249 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5261, allocations: 0 / 0.8249 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003988/0.5265, allocations: 94.78 kB / 0.825 GB, free: 3.637 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001765/0.5267, allocations: 118.5 kB / 0.8251 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009283/0.5276, allocations: 237.8 kB / 0.8254 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.5276, allocations: 7.938 kB / 0.8254 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003933/0.528, allocations: 94.47 kB / 0.8255 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.5283, allocations: 10.67 kB / 0.8255 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.5309, allocations: 324.8 kB / 0.8258 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.892e-05/0.531, allocations: 0.6907 MB / 0.8265 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004713/0.5315, allocations: 16.31 kB / 0.8265 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.5315, allocations: 0 / 0.8265 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of Templates: time 0.007992/0.5395, allocations: 5.068 MB / 0.8314 GB, free: 2.344 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.091099965153262] Failed to read output from testmodel.py, exit status != 0: 0.5465665468946099 0.5593118 0.07296623499999995 Calling exit ...