Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001515/0.001515, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001424/0.001424, allocations: 212 kB / 20.13 MB, free: 2.949 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.507/1.507, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.022/3.022, allocations: 0.49 GB / 0.7923 GB, free: 1.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002074/0.002074, allocations: 71.91 kB / 1.15 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.046, allocations: 176.1 MB / 1.322 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.00209/1.048, allocations: 0.6174 MB / 1.322 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001914/1.05, allocations: 1.45 MB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/1.05, allocations: 0 / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.267e-05/1.05, allocations: 0 / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.922e-05/1.05, allocations: 6.781 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007519/1.051, allocations: 176.2 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/1.051, allocations: 53.7 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.679e-05/1.051, allocations: 6.406 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/1.051, allocations: 16.3 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.02e-05/1.051, allocations: 24.86 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/1.051, allocations: 6.156 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003312/1.051, allocations: 210.2 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/1.051, allocations: 16.84 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/1.051, allocations: 23.78 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000271/1.052, allocations: 185.1 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/1.052, allocations: 2.875 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.384e-06/1.052, allocations: 0 / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.923e-06/1.052, allocations: 0 / 1.324 GB, free: 23.07 MB / 1.061 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.0004584/1.052, allocations: 447.4 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/1.052, allocations: 15.55 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.438e-05/1.052, allocations: 192 / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.393e-05/1.052, allocations: 37.56 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/1.052, allocations: 8 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/1.052, allocations: 175.2 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/1.052, allocations: 6.672 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/1.052, allocations: 7.469 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/1.053, allocations: 92.12 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/1.053, allocations: 0 / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/1.053, allocations: 2.375 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/1.053, allocations: 3.328 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.369e-05/1.053, allocations: 63.8 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/1.053, allocations: 176.3 kB / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/1.053, allocations: 77.17 kB / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.479e-05/1.053, allocations: 69.58 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/1.053, allocations: 3.938 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/1.053, allocations: 34.56 kB / 1.325 GB, free: 22.01 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/1.053, allocations: 0 / 1.325 GB, free: 22.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003777/1.053, allocations: 254.1 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/1.053, allocations: 88.69 kB / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/1.054, allocations: 148.7 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/1.054, allocations: 28.2 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.797e-05/1.054, allocations: 88.3 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/1.054, allocations: 13.67 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/1.054, allocations: 30.5 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.847e-05/1.054, allocations: 314.8 kB / 1.326 GB, free: 21.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/1.054, allocations: 108.7 kB / 1.326 GB, free: 21.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/1.054, allocations: 106.4 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/1.054, allocations: 274.8 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.054, allocations: 0.9062 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004482/1.055, allocations: 330.5 kB / 1.327 GB, free: 20.95 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-05/1.055, allocations: 69.86 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.055, allocations: 0.9688 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/1.055, allocations: 0 / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/1.055, allocations: 0.75 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/1.055, allocations: 0 / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/1.055, allocations: 21.92 kB / 1.327 GB, free: 20.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/1.055, allocations: 3.562 kB / 1.327 GB, free: 20.87 MB / 1.061 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 9.827e-05/1.055, allocations: 153.7 kB / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/1.055, allocations: 11.2 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.58e-05/1.055, allocations: 6 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/1.055, allocations: 0.5938 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.055, allocations: 0.5 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.055, allocations: 1.094 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.798e-05/1.055, allocations: 177.4 kB / 1.328 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/1.055, allocations: 5.281 kB / 1.328 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/1.055, allocations: 0 / 1.328 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/1.055, allocations: 3.938 kB / 1.328 GB, free: 20.49 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/1.055, allocations: 2.562 kB / 1.328 GB, free: 20.49 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.055, allocations: 0.5 kB / 1.328 GB, free: 20.49 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.055, allocations: 0 / 1.328 GB, free: 20.49 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/1.056, allocations: 232.7 kB / 1.328 GB, free: 20.37 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/1.056, allocations: 85.81 kB / 1.328 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/1.056, allocations: 7.156 kB / 1.328 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.937e-05/1.056, allocations: 2.406 kB / 1.328 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/1.056, allocations: 11.31 kB / 1.328 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/1.056, allocations: 2.312 kB / 1.328 GB, free: 20.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.081e-05/1.056, allocations: 109.3 kB / 1.328 GB, free: 20.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.056, allocations: 0 / 1.328 GB, free: 20.18 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003411/1.056, allocations: 67.5 kB / 1.328 GB, free: 20.18 MB / 1.061 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.000684/1.057, allocations: 0.8153 MB / 1.329 GB, free: 19.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000424/1.057, allocations: 329.5 kB / 1.329 GB, free: 19.36 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/1.057, allocations: 0 / 1.329 GB, free: 19.36 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/1.057, allocations: 127.5 kB / 1.329 GB, free: 19.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/1.058, allocations: 11.64 kB / 1.329 GB, free: 19.28 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/1.06, allocations: 2.133 MB / 1.331 GB, free: 17.92 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/1.06, allocations: 0.6921 MB / 1.332 GB, free: 17.22 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.844e-06/1.06, allocations: 4.031 kB / 1.332 GB, free: 17.22 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/1.06, allocations: 19.41 kB / 1.332 GB, free: 17.2 MB / 1.061 GB Notification: Performance of SimCode: time 6.92e-07/1.06, allocations: 0.9062 kB / 1.332 GB, free: 17.2 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/1.085, allocations: 3.348 MB / 1.335 GB, free: 16.7 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.42/9.505, allocations: 14.23 kB / 1.335 GB, free: 16.69 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.188502117991447] Failed to read output from testmodel.py, exit status != 0: 9.633078696031589 9.646134551 8.59175472 Calling exit ...