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.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.001333/0.001333, allocations: 107.8 kB / 16.45 MB, free: 6.5 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.001416/0.001416, allocations: 216.9 kB / 19.43 MB, free: 3.656 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.458/1.458, allocations: 230.6 MB / 252.8 MB, free: 9.004 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.002519/0.002519, allocations: 282.4 kB / 309.1 MB, free: 3.984 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.27/1.27, allocations: 180.9 MB / 0.5333 GB, free: 13.88 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.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(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) [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.004371/0.004371, allocations: 111.9 kB / 0.7343 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2391, allocations: 95.35 MB / 0.8274 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001807/0.241, allocations: 0.6388 MB / 0.828 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004649/0.2414, allocations: 199.6 kB / 0.8282 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.407e-05/0.2415, allocations: 0 / 0.8282 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.2415, allocations: 3.938 kB / 0.8282 GB, free: 9 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.2416, allocations: 11.94 kB / 0.8282 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.2418, allocations: 75.75 kB / 0.8283 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.633e-05/0.2419, allocations: 27.91 kB / 0.8283 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.2419, allocations: 0 / 0.8283 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.491e-05/0.242, allocations: 23.92 kB / 0.8284 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.242, allocations: 23.91 kB / 0.8284 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.2421, allocations: 0 / 0.8284 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.2422, allocations: 111.7 kB / 0.8285 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.2422, allocations: 0 / 0.8285 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.2423, allocations: 19.86 kB / 0.8285 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.2424, allocations: 111.9 kB / 0.8286 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.2425, allocations: 0 / 0.8286 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2425, allocations: 4 kB / 0.8286 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.2425, allocations: 0 / 0.8286 GB, free: 8.598 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.0005632/0.243, allocations: 371.2 kB / 0.829 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2431, allocations: 8.031 kB / 0.829 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.2431, allocations: 30.75 kB / 0.829 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.2431, allocations: 8.891 kB / 0.829 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.2434, allocations: 176.2 kB / 0.8292 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.2434, allocations: 4.375 kB / 0.8292 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.2434, allocations: 8.328 kB / 0.8292 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.2436, allocations: 50.23 kB / 0.8292 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.2436, allocations: 7.938 kB / 0.8293 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2436, allocations: 3.984 kB / 0.8293 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2436, allocations: 0 / 0.8293 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.2438, allocations: 39.95 kB / 0.8293 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.2441, allocations: 241 kB / 0.8295 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.2443, allocations: 74.41 kB / 0.8296 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.579e-05/0.2444, allocations: 24.94 kB / 0.8296 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.2444, allocations: 3.938 kB / 0.8296 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.2444, allocations: 30.56 kB / 0.8297 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2444, allocations: 0 / 0.8297 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.02767/0.2721, allocations: 1.613 MB / 0.8312 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.2722, allocations: 55.41 kB / 0.8313 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.2723, allocations: 113.8 kB / 0.8314 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/0.2724, allocations: 29.64 kB / 0.8314 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.2724, allocations: 100 kB / 0.8315 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.369e-05/0.2725, allocations: 23.84 kB / 0.8315 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.2727, allocations: 25.7 kB / 0.8316 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.2729, allocations: 322.8 kB / 0.8319 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/0.2735, allocations: 135.9 kB / 0.832 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005032/0.274, allocations: 144.3 kB / 0.8321 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.275, allocations: 300.9 kB / 0.8324 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.275, allocations: 0 / 0.8324 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001297/0.2763, allocations: 337.5 kB / 0.8327 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.2763, allocations: 9.875 kB / 0.8328 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2763, allocations: 0 / 0.8328 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.2763, allocations: 0 / 0.8328 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.2779, allocations: 63.94 kB / 0.8328 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.278, allocations: 3.938 kB / 0.8328 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.2793, allocations: 47.94 kB / 0.8329 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-05/0.2794, allocations: 4 kB / 0.8329 GB, free: 4.008 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.0001972/0.2796, allocations: 117.8 kB / 0.833 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.222e-05/0.2797, allocations: 7.953 kB / 0.833 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.2798, allocations: 24.36 kB / 0.833 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2798, allocations: 0 / 0.833 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.2798, allocations: 4 kB / 0.833 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2798, allocations: 0 / 0.833 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005916/0.2857, allocations: 0.8413 MB / 0.8338 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2857, allocations: 0 / 0.8338 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/0.2869, allocations: 55.88 kB / 0.8339 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.2869, allocations: 4 kB / 0.8339 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.271e-05/0.2869, allocations: 11.88 kB / 0.8339 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2869, allocations: 0 / 0.8339 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.2869, allocations: 12.05 kB / 0.8339 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.2879, allocations: 313.2 kB / 0.8342 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.288, allocations: 89.05 kB / 0.8343 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.161e-05/0.2881, allocations: 11.94 kB / 0.8343 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.2891, allocations: 35.95 kB / 0.8343 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.985e-05/0.2891, allocations: 12.34 kB / 0.8344 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/0.2892, allocations: 4 kB / 0.8344 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.616e-05/0.2893, allocations: 99.3 kB / 0.8345 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2893, allocations: 0 / 0.8345 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004266/0.2897, allocations: 91.94 kB / 0.8345 GB, free: 2.176 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.001481/0.2912, allocations: 0.874 MB / 0.8354 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.2922, allocations: 235.9 kB / 0.8356 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2922, allocations: 0 / 0.8356 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004256/0.2926, allocations: 100 kB / 0.8357 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.2929, allocations: 9.031 kB / 0.8357 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007251/0.3002, allocations: 2.682 MB / 0.8383 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.3005, allocations: 0.6885 MB / 0.839 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003887/0.3009, allocations: 48 kB / 0.8391 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004909/0.3014, allocations: 23.42 kB / 0.8391 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.3014, allocations: 0 / 0.8391 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/0.3351, allocations: 9.844 MB / 0.8487 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.244/8.579, allocations: 5.188 kB / 0.8487 GB, free: 3.625 MB / 0.5919 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.921064577065408] Failed to read output from testmodel.py, exit status != 0: 8.652049589902163 8.674947354 8.427959172 Calling exit ...