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.0009209/0.0009209, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001015/0.001015, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8863/0.8863, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.002152/0.002152, allocations: 237.7 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6841/0.6841, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.6463 GB, free: 1.793 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.531e-05, allocations: 6.219 kB / 0.6464 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001387/0.001413, allocations: 0.6162 MB / 0.647 GB, free: 1.168 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.238/0.2394, allocations: 1.429 MB / 0.6483 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.2395, allocations: 0.5625 kB / 0.6484 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 6.85e-05/0.2395, allocations: 3.516 kB / 0.6484 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.003e-05/0.2396, allocations: 2.766 kB / 0.6484 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00079/0.2404, allocations: 218 kB / 0.6486 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.495e-05/0.2405, allocations: 34.02 kB / 0.6486 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.2405, allocations: 5.375 kB / 0.6486 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.726e-05/0.2406, allocations: 20.34 kB / 0.6486 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.929e-05/0.2406, allocations: 19.19 kB / 0.6486 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.2406, allocations: 3.812 kB / 0.6486 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004424/0.2411, allocations: 267 kB / 0.6489 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.272e-05/0.2411, allocations: 8.328 kB / 0.6489 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.2411, allocations: 14.69 kB / 0.6489 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.2415, allocations: 259.3 kB / 0.6492 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2415, allocations: 4.781 kB / 0.6492 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2415, allocations: 0.8125 kB / 0.6492 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2415, allocations: 0.75 kB / 0.6492 GB, free: 55.75 MB / 0.5573 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.0003468/0.2419, allocations: 327.4 kB / 0.6495 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.2419, allocations: 12.66 kB / 0.6495 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.42e-05/0.2419, allocations: 34.8 kB / 0.6495 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.242, allocations: 9.906 kB / 0.6495 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.294e-05/0.242, allocations: 114.4 kB / 0.6496 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.242, allocations: 1.906 kB / 0.6497 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.242, allocations: 9.844 kB / 0.6497 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.2422, allocations: 105.8 kB / 0.6498 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.2422, allocations: 192 / 0.6498 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.2422, allocations: 5.75 kB / 0.6498 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2422, allocations: 0.625 kB / 0.6498 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.944e-05/0.2423, allocations: 66.31 kB / 0.6498 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001065/0.2424, allocations: 131.5 kB / 0.65 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.343e-05/0.2425, allocations: 82.88 kB / 0.65 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.863e-05/0.2425, allocations: 76.31 kB / 0.6501 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-06/0.2425, allocations: 1.359 kB / 0.6501 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.2425, allocations: 32.91 kB / 0.6501 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.2425, allocations: 0 / 0.6501 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0002906/0.2428, allocations: 257.6 kB / 0.6504 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.2429, allocations: 82.88 kB / 0.6505 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.692e-05/0.2429, allocations: 111.7 kB / 0.6506 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.2429, allocations: 31.48 kB / 0.6506 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.876e-05/0.243, allocations: 87.36 kB / 0.6507 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.243, allocations: 27.81 kB / 0.6507 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.243, allocations: 22.3 kB / 0.6507 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.254e-05/0.2431, allocations: 314.5 kB / 0.651 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.232e-05/0.2431, allocations: 71.77 kB / 0.6511 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.19e-05/0.2431, allocations: 65.16 kB / 0.6512 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.742e-05/0.2432, allocations: 149.2 kB / 0.6513 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2432, allocations: 1.969 kB / 0.6513 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001427/0.2434, allocations: 185.3 kB / 0.6515 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.2434, allocations: 35.39 kB / 0.6515 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2434, allocations: 1.172 kB / 0.6515 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.2434, allocations: 5.031 kB / 0.6515 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.2434, allocations: 3.406 kB / 0.6515 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.2434, allocations: 2 kB / 0.6515 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.2436, allocations: 8.281 kB / 0.6515 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.2436, allocations: 4.438 kB / 0.6515 GB, free: 53.82 MB / 0.5573 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 6.079e-05/0.2437, allocations: 154.3 kB / 0.6517 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.2437, allocations: 8.484 kB / 0.6517 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.698e-05/0.2437, allocations: 7.5 kB / 0.6517 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.2437, allocations: 5.625 kB / 0.6517 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2437, allocations: 1.5 kB / 0.6517 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2437, allocations: 0 / 0.6517 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.784e-05/0.2438, allocations: 137.3 kB / 0.6518 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2438, allocations: 0 / 0.6518 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.2438, allocations: 2 kB / 0.6518 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2438, allocations: 0 / 0.6518 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.2438, allocations: 6.797 kB / 0.6518 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.2438, allocations: 5.594 kB / 0.6519 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2438, allocations: 0 / 0.6519 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.244, allocations: 226.1 kB / 0.6521 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-06/0.244, allocations: 13.48 kB / 0.6521 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.244, allocations: 6.312 kB / 0.6521 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.173e-05/0.244, allocations: 11.27 kB / 0.6521 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.244, allocations: 3.297 kB / 0.6521 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.244, allocations: 6.641 kB / 0.6521 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.654e-05/0.2441, allocations: 94.59 kB / 0.6522 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2441, allocations: 0.5938 kB / 0.6522 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003413/0.2444, allocations: 71.84 kB / 0.6523 GB, free: 53.29 MB / 0.5573 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.0004859/0.2449, allocations: 0.834 MB / 0.6531 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.2451, allocations: 223.8 kB / 0.6533 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2451, allocations: 2.625 kB / 0.6533 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.875e-05/0.2452, allocations: 156.3 kB / 0.6534 GB, free: 52.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.2453, allocations: 11.23 kB / 0.6535 GB, free: 52.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.2457, allocations: 250.2 kB / 0.6537 GB, free: 52.21 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.796e-05/0.2458, allocations: 72.28 kB / 0.6538 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.642e-06/0.2458, allocations: 1.125 kB / 0.6538 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.2458, allocations: 13.09 kB / 0.6538 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of SimCode: time 1.102e-06/0.2458, allocations: 1.969 kB / 0.6538 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.262, allocations: 3.813 MB / 0.6575 GB, free: 51.24 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.592/6.854, allocations: 6.141 kB / 0.6575 GB, free: 51.24 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.56167163234204] Failed to read output from testmodel.py, exit status != 0: 6.930698371492326 6.937579865 6.69432406 Calling exit ...