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.00189/0.00189, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.002021/0.002021, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.403/1.403, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.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.002603/0.002603, allocations: 297.9 kB / 303 MB, free: 9.5 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 1.23/1.23, allocations: 180.9 MB / 0.5261 GB, free: 14.73 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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002727/0.002727, allocations: 100.8 kB / 0.7248 GB, free: 39.99 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1906, allocations: 94.16 MB / 0.8168 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001981/0.1926, allocations: 0.6199 MB / 0.8174 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002009/0.1946, allocations: 1.388 MB / 0.8187 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.615e-05/0.1946, allocations: 0 / 0.8187 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.202e-05/0.1947, allocations: 7.984 kB / 0.8187 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.741e-05/0.1947, allocations: 4 kB / 0.8187 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000638/0.1954, allocations: 179.5 kB / 0.8189 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.1955, allocations: 47.91 kB / 0.819 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.1955, allocations: 4 kB / 0.819 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.591e-05/0.1956, allocations: 15.98 kB / 0.819 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.1956, allocations: 39.83 kB / 0.819 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1956, allocations: 4 kB / 0.819 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003502/0.196, allocations: 203.7 kB / 0.8192 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.196, allocations: 11.94 kB / 0.8192 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.397e-05/0.1961, allocations: 27.84 kB / 0.8193 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.1964, allocations: 191.7 kB / 0.8194 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1964, allocations: 0 / 0.8194 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1964, allocations: 0 / 0.8194 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.1964, allocations: 0 / 0.8194 GB, free: 2.688 MB / 0.5606 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.0005283/0.1969, allocations: 446.3 kB / 0.8199 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1969, allocations: 12.03 kB / 0.8199 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.197, allocations: 30.75 kB / 0.8199 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.197, allocations: 8.891 kB / 0.8199 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.1972, allocations: 172.3 kB / 0.8201 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1972, allocations: 4.375 kB / 0.8201 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.1972, allocations: 4.312 kB / 0.8201 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.1974, allocations: 103.5 kB / 0.8202 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1974, allocations: 0 / 0.8202 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.1974, allocations: 4 kB / 0.8202 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1974, allocations: 7.938 kB / 0.8202 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.1975, allocations: 59.95 kB / 0.8203 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.1977, allocations: 181.6 kB / 0.8204 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.1978, allocations: 78.53 kB / 0.8205 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.16e-05/0.1979, allocations: 64.89 kB / 0.8206 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-06/0.1979, allocations: 0 / 0.8206 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.198, allocations: 34.5 kB / 0.8206 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.198, allocations: 4 kB / 0.8206 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0004158/0.1984, allocations: 255.2 kB / 0.8208 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.1984, allocations: 81.09 kB / 0.8209 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.1986, allocations: 140 kB / 0.8211 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.1986, allocations: 33.7 kB / 0.8211 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.1987, allocations: 92.08 kB / 0.8212 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.1987, allocations: 11.94 kB / 0.8212 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.1987, allocations: 29.7 kB / 0.8212 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1989, allocations: 322.9 kB / 0.8215 GB, free: 316 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.199, allocations: 103.9 kB / 0.8216 GB, free: 212 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1991, allocations: 99.94 kB / 0.8217 GB, free: 112 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.1994, allocations: 277.8 kB / 0.822 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1994, allocations: 0 / 0.822 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003781/0.1998, allocations: 324.8 kB / 0.8223 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.228e-05/0.1999, allocations: 71.39 kB / 0.8224 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1999, allocations: 4 kB / 0.8224 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1999, allocations: 3.938 kB / 0.8224 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.525e-06/0.1999, allocations: 8.047 kB / 0.8224 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1999, allocations: 0 / 0.8224 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.2001, allocations: 11.89 kB / 0.8224 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.2001, allocations: 4 kB / 0.8224 GB, free: 15.37 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.0001689/0.2002, allocations: 151.5 kB / 0.8225 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.2003, allocations: 11.89 kB / 0.8225 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.709e-05/0.2003, allocations: 4.25 kB / 0.8225 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2003, allocations: 7.984 kB / 0.8226 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2003, allocations: 3.938 kB / 0.8226 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2003, allocations: 4 kB / 0.8226 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.2004, allocations: 169.7 kB / 0.8227 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2005, allocations: 7.922 kB / 0.8227 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.2005, allocations: 0 / 0.8227 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2005, allocations: 0 / 0.8227 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.2005, allocations: 0 / 0.8227 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2005, allocations: 7.938 kB / 0.8227 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2005, allocations: 0 / 0.8227 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.2008, allocations: 230.8 kB / 0.823 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.2008, allocations: 89 kB / 0.823 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.2008, allocations: 0 / 0.823 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.649e-05/0.2009, allocations: 4 kB / 0.823 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.2009, allocations: 11.98 kB / 0.8231 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.201, allocations: 8 kB / 0.8231 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.09e-05/0.201, allocations: 109.6 kB / 0.8232 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.201, allocations: 0 / 0.8232 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000298/0.2013, allocations: 63.88 kB / 0.8232 GB, free: 14.39 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.0008119/0.2021, allocations: 0.817 MB / 0.824 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.2025, allocations: 326.7 kB / 0.8243 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2025, allocations: 0 / 0.8243 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.2027, allocations: 127.3 kB / 0.8245 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.2028, allocations: 6.234 kB / 0.8245 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.2052, allocations: 2.139 MB / 0.8266 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.2055, allocations: 0.6963 MB / 0.8272 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.272e-06/0.2055, allocations: 0 / 0.8272 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.2055, allocations: 19.61 kB / 0.8273 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of SimCode: time 8.01e-07/0.2055, allocations: 0 / 0.8273 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/0.231, allocations: 3.309 MB / 0.8305 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.035/8.266, allocations: 8.438 kB / 0.8305 GB, free: 6.887 MB / 0.5762 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.357876506168395] Failed to read output from testmodel.py, exit status != 0: 8.332890186924487 8.350620654 8.151243305 Calling exit ...