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.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.001325/0.001325, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 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.001495/0.001495, allocations: 220 kB / 22.24 MB, free: 5.109 MB / 14.72 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.002528/0.002528, allocations: 297.3 kB / 312.7 MB, free: 2.562 MB / 238.1 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 1.276/1.276, allocations: 180.6 MB / 0.5369 GB, free: 14.55 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 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.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002983/0.002983, allocations: 102.6 kB / 0.74 GB, free: 27.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2036, allocations: 95.38 MB / 0.8332 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001759/0.2054, allocations: 0.6175 MB / 0.8338 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002068/0.2074, allocations: 1.391 MB / 0.8351 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.2075, allocations: 3.938 kB / 0.8351 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.163e-05/0.2075, allocations: 0 / 0.8351 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.072e-05/0.2075, allocations: 7.938 kB / 0.8351 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006895/0.2082, allocations: 187.6 kB / 0.8353 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.2083, allocations: 43.91 kB / 0.8354 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.468e-05/0.2084, allocations: 0 / 0.8354 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.854e-05/0.2084, allocations: 23.97 kB / 0.8354 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.028e-05/0.2085, allocations: 23.91 kB / 0.8354 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.2085, allocations: 7.938 kB / 0.8354 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.2089, allocations: 207.7 kB / 0.8356 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.2089, allocations: 15.94 kB / 0.8356 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.209, allocations: 23.8 kB / 0.8357 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.2093, allocations: 191.4 kB / 0.8358 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2093, allocations: 0 / 0.8358 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.71e-07/0.2093, allocations: 4 kB / 0.8358 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2093, allocations: 0 / 0.8358 GB, free: 4.98 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.0004579/0.2097, allocations: 374.6 kB / 0.8362 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2098, allocations: 13.34 kB / 0.8362 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.2098, allocations: 4.891 kB / 0.8362 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2099, allocations: 114.5 kB / 0.8363 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.21, allocations: 384 / 0.8363 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.21, allocations: 8.375 kB / 0.8363 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.2102, allocations: 123.7 kB / 0.8364 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2102, allocations: 3.938 kB / 0.8365 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.2102, allocations: 8 kB / 0.8365 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.2102, allocations: 0 / 0.8365 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.2103, allocations: 89.64 kB / 0.8365 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.2105, allocations: 125.3 kB / 0.8367 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.2106, allocations: 116.2 kB / 0.8368 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.2107, allocations: 90.59 kB / 0.8369 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-06/0.2107, allocations: 0 / 0.8369 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.2108, allocations: 34.56 kB / 0.8369 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.2108, allocations: 0 / 0.8369 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0004485/0.2112, allocations: 318.5 kB / 0.8372 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.2113, allocations: 85.14 kB / 0.8373 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.2114, allocations: 143.5 kB / 0.8374 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.2114, allocations: 25.7 kB / 0.8374 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.2115, allocations: 96.09 kB / 0.8375 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.2115, allocations: 15.88 kB / 0.8375 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.2116, allocations: 25.72 kB / 0.8376 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.2117, allocations: 318.8 kB / 0.8379 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.2119, allocations: 171.3 kB / 0.838 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.2121, allocations: 175.2 kB / 0.8382 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.2124, allocations: 293.8 kB / 0.8385 GB, free: 2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2124, allocations: 0 / 0.8385 GB, free: 2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004314/0.2128, allocations: 404.3 kB / 0.8389 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.246e-05/0.2129, allocations: 71.33 kB / 0.8389 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2129, allocations: 0 / 0.8389 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.2129, allocations: 0 / 0.8389 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.2129, allocations: 0 / 0.8389 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2129, allocations: 0 / 0.8389 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.213, allocations: 15.94 kB / 0.839 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.2131, allocations: 4 kB / 0.839 GB, free: 1.473 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 0.000125/0.2132, allocations: 152.2 kB / 0.8391 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.2132, allocations: 11.89 kB / 0.8391 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.835e-05/0.2132, allocations: 8.375 kB / 0.8391 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.2132, allocations: 144 / 0.8391 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2132, allocations: 0 / 0.8391 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.2132, allocations: 3.984 kB / 0.8391 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.2133, allocations: 121.3 kB / 0.8392 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2133, allocations: 0 / 0.8392 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-06/0.2133, allocations: 3.938 kB / 0.8392 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2134, allocations: 4 kB / 0.8393 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2134, allocations: 3.938 kB / 0.8393 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.2134, allocations: 0 / 0.8393 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2134, allocations: 0 / 0.8393 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.2137, allocations: 268.4 kB / 0.8395 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.2137, allocations: 7.891 kB / 0.8395 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.2137, allocations: 7.938 kB / 0.8395 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.707e-05/0.2138, allocations: 4 kB / 0.8395 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.2138, allocations: 7.984 kB / 0.8395 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.2138, allocations: 0 / 0.8395 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.497e-05/0.2139, allocations: 113.3 kB / 0.8396 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2139, allocations: 0 / 0.8396 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002798/0.2142, allocations: 59.94 kB / 0.8397 GB, free: 0.625 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.0002823/0.2145, allocations: 159 kB / 0.8399 GB, free: 472 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004671/0.215, allocations: 419.7 kB / 0.8403 GB, free: 8 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.215, allocations: 0 / 0.8403 GB, free: 8 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.2151, allocations: 157 kB / 0.8404 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.2153, allocations: 4 kB / 0.8404 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.2157, allocations: 235.2 kB / 0.8406 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.98e-05/0.2157, allocations: 75.58 kB / 0.8407 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.28e-06/0.2157, allocations: 0 / 0.8407 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.2158, allocations: 15.38 kB / 0.8407 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.2158, allocations: 4.125 kB / 0.8407 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of Templates: time 0.005211/0.221, allocations: 2.184 MB / 0.8429 GB, free: 13.29 MB / 0.5919 GB " [Timeout remaining time 660] 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: 6.270961483940482] Failed to read output from testmodel.py, exit status != 0: 0.22827785462141037 0.24392616799999994 0.031519099 Calling exit ...