Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001268/0.001268, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001418/0.001418, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.446/1.446, 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.002506/0.002506, allocations: 286.2 kB / 312.7 MB, free: 2.688 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.268/1.268, allocations: 180.6 MB / 0.5369 GB, free: 14.47 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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation",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.002944/0.002944, allocations: 101.9 kB / 0.7395 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2091, allocations: 95.38 MB / 0.8327 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001898/0.211, allocations: 0.6214 MB / 0.8333 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002097/0.2131, allocations: 1.426 MB / 0.8347 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/0.2131, allocations: 0 / 0.8347 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.302e-05/0.2132, allocations: 3.938 kB / 0.8347 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.729e-05/0.2132, allocations: 7.984 kB / 0.8347 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007503/0.2139, allocations: 219.5 kB / 0.8349 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.999e-05/0.214, allocations: 35.91 kB / 0.8349 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.499e-05/0.2141, allocations: 8.281 kB / 0.835 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.823e-05/0.2141, allocations: 7.984 kB / 0.835 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.617e-05/0.2142, allocations: 27.91 kB / 0.835 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.2142, allocations: 0 / 0.835 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004853/0.2147, allocations: 271.5 kB / 0.8352 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.443e-05/0.2147, allocations: 7.984 kB / 0.8353 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.2148, allocations: 15.86 kB / 0.8353 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.2151, allocations: 215.4 kB / 0.8355 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2151, allocations: 0 / 0.8355 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2151, allocations: 0 / 0.8355 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.2151, allocations: 0 / 0.8355 GB, free: 5.395 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005059/0.2156, allocations: 327.6 kB / 0.8358 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.2157, allocations: 13.34 kB / 0.8358 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.2157, allocations: 34.73 kB / 0.8358 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.2157, allocations: 8.891 kB / 0.8358 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.2159, allocations: 126.4 kB / 0.836 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.2159, allocations: 384 / 0.836 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.2159, allocations: 8.312 kB / 0.836 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.2161, allocations: 111.5 kB / 0.8361 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2161, allocations: 0 / 0.8361 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.2161, allocations: 0 / 0.8361 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2161, allocations: 3.984 kB / 0.8361 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.162e-05/0.2162, allocations: 65.67 kB / 0.8361 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.2164, allocations: 140.6 kB / 0.8363 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.2165, allocations: 84.19 kB / 0.8364 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.482e-05/0.2166, allocations: 74.56 kB / 0.8364 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.2166, allocations: 0 / 0.8364 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.2167, allocations: 42.5 kB / 0.8365 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.2167, allocations: 0 / 0.8365 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003958/0.2171, allocations: 246.7 kB / 0.8367 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.2171, allocations: 85.05 kB / 0.8368 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.2172, allocations: 113.8 kB / 0.8369 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.2172, allocations: 25.7 kB / 0.8369 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.2173, allocations: 84.14 kB / 0.837 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.2173, allocations: 23.8 kB / 0.837 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.2174, allocations: 21.72 kB / 0.837 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.2175, allocations: 322.9 kB / 0.8374 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.081e-05/0.2176, allocations: 69.67 kB / 0.8374 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.2177, allocations: 65.67 kB / 0.8375 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.2178, allocations: 144.2 kB / 0.8376 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2178, allocations: 0 / 0.8376 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002798/0.2181, allocations: 185.1 kB / 0.8378 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.2182, allocations: 41.62 kB / 0.8378 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2182, allocations: 0 / 0.8378 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2182, allocations: 0 / 0.8378 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.2182, allocations: 0 / 0.8378 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2182, allocations: 64 / 0.8378 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.2183, allocations: 23.88 kB / 0.8379 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.2184, allocations: 8 kB / 0.8379 GB, free: 2.656 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 (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 prepare postOptimizeDAE: time 0.000127/0.2185, allocations: 144.2 kB / 0.838 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.2185, allocations: 11.94 kB / 0.838 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.748e-05/0.2185, allocations: 8.359 kB / 0.838 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2185, allocations: 0 / 0.838 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2185, allocations: 3.938 kB / 0.838 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2185, allocations: 0 / 0.838 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.2187, allocations: 140.7 kB / 0.8382 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2187, allocations: 4 kB / 0.8382 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-06/0.2187, allocations: 7.938 kB / 0.8382 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2187, allocations: 0 / 0.8382 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.2187, allocations: 4 kB / 0.8382 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2187, allocations: 0 / 0.8382 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2187, allocations: 0 / 0.8382 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.219, allocations: 229 kB / 0.8384 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.219, allocations: 15.89 kB / 0.8384 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.219, allocations: 0 / 0.8384 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.489e-05/0.219, allocations: 11.92 kB / 0.8384 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.2191, allocations: 4 kB / 0.8384 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.2191, allocations: 4 kB / 0.8384 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.942e-05/0.2191, allocations: 99.28 kB / 0.8385 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2191, allocations: 0 / 0.8385 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003155/0.2194, allocations: 75.86 kB / 0.8386 GB, free: 1.816 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: 0 () * Number of discrete states: 0 () * 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.0008091/0.2203, allocations: 0.8225 MB / 0.8394 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002848/0.2205, allocations: 230.6 kB / 0.8396 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2205, allocations: 0 / 0.8396 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.2207, allocations: 145 kB / 0.8398 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.2208, allocations: 8 kB / 0.8398 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.2213, allocations: 252.3 kB / 0.84 GB, free: 248 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.183e-05/0.2214, allocations: 71.34 kB / 0.8401 GB, free: 156 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.179e-06/0.2214, allocations: 3.938 kB / 0.8401 GB, free: 152 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.2214, allocations: 19.42 kB / 0.8401 GB, free: 132 kB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.2214, allocations: 0 / 0.8401 GB, free: 132 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.2533, allocations: 3.691 MB / 0.8437 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.43, allocations: 2.188 kB / 0.8437 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.78269912628457] Failed to read output from testmodel.py, exit status != 0: 11.537785333115608 11.564190683 11.345676136 Calling exit ...