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.001867/0.001867, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002553/0.002553, allocations: 220 kB / 23.03 MB, free: 4.922 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002448/0.002448, allocations: 287 kB / 313.5 MB, free: 2.613 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.234/1.234, allocations: 180.6 MB / 0.5377 GB, free: 14.57 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="cs",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.002784/0.002784, allocations: 95.23 kB / 0.7403 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1667, allocations: 95.38 MB / 0.8334 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001712/0.1684, allocations: 0.6216 MB / 0.8341 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.1703, allocations: 1.434 MB / 0.8355 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.222e-05/0.1703, allocations: 4 kB / 0.8355 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.784e-05/0.1704, allocations: 3.938 kB / 0.8355 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.085e-05/0.1704, allocations: 0 / 0.8355 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007049/0.1711, allocations: 215.5 kB / 0.8357 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.924e-05/0.1712, allocations: 35.91 kB / 0.8357 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.1713, allocations: 12.27 kB / 0.8357 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.236e-05/0.1713, allocations: 15.98 kB / 0.8357 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.192e-05/0.1713, allocations: 23.91 kB / 0.8358 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1714, allocations: 4 kB / 0.8358 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004547/0.1718, allocations: 275.5 kB / 0.836 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.635e-05/0.1718, allocations: 7.984 kB / 0.836 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.1719, allocations: 15.88 kB / 0.836 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.1722, allocations: 219.4 kB / 0.8363 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1722, allocations: 0 / 0.8363 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1722, allocations: 0 / 0.8363 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1722, allocations: 0 / 0.8363 GB, free: 5.418 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.0004139/0.1726, allocations: 327.6 kB / 0.8366 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1726, allocations: 17.34 kB / 0.8366 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.52e-05/0.1727, allocations: 4.188 kB / 0.8366 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.117e-05/0.1727, allocations: 34.75 kB / 0.8366 GB, free: 5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.1727, allocations: 8.828 kB / 0.8366 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.1728, allocations: 114.5 kB / 0.8367 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1728, allocations: 8.312 kB / 0.8367 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.1729, allocations: 384 / 0.8367 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.173, allocations: 107.3 kB / 0.8368 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.173, allocations: 0 / 0.8368 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1731, allocations: 7.938 kB / 0.8369 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1731, allocations: 4 kB / 0.8369 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.446e-05/0.1731, allocations: 65.67 kB / 0.8369 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.1733, allocations: 132.7 kB / 0.837 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.1734, allocations: 88.19 kB / 0.8371 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.015e-05/0.1735, allocations: 70.56 kB / 0.8372 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.1735, allocations: 3.938 kB / 0.8372 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.1735, allocations: 34.55 kB / 0.8372 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.1735, allocations: 0 / 0.8372 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003633/0.1739, allocations: 250.7 kB / 0.8375 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.174, allocations: 85.09 kB / 0.8376 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1741, allocations: 117.9 kB / 0.8377 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1741, allocations: 25.7 kB / 0.8377 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.1741, allocations: 84.14 kB / 0.8378 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.1742, allocations: 27.95 kB / 0.8378 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.1742, allocations: 17.72 kB / 0.8378 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1743, allocations: 318.8 kB / 0.8381 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.917e-05/0.1744, allocations: 65.67 kB / 0.8382 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.796e-05/0.1745, allocations: 78.2 kB / 0.8383 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.1747, allocations: 144.3 kB / 0.8384 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1747, allocations: 0 / 0.8384 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002387/0.1749, allocations: 196.9 kB / 0.8386 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/0.1749, allocations: 41.75 kB / 0.8386 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1749, allocations: 0 / 0.8386 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.175, allocations: 0 / 0.8386 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-07/0.175, allocations: 0 / 0.8386 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.175, allocations: 0 / 0.8386 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.1751, allocations: 15.88 kB / 0.8386 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.1751, allocations: 8 kB / 0.8386 GB, free: 2.676 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.0001097/0.1752, allocations: 148.2 kB / 0.8388 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.1752, allocations: 7.938 kB / 0.8388 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.483e-05/0.1753, allocations: 8.375 kB / 0.8388 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1753, allocations: 7.938 kB / 0.8388 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1753, allocations: 0 / 0.8388 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.1753, allocations: 0 / 0.8388 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.1754, allocations: 136.7 kB / 0.8389 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1754, allocations: 3.938 kB / 0.8389 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1754, allocations: 0 / 0.8389 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1754, allocations: 0 / 0.8389 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1754, allocations: 4 kB / 0.8389 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.1754, allocations: 0 / 0.8389 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1754, allocations: 0 / 0.8389 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.1757, allocations: 240.3 kB / 0.8392 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.1757, allocations: 11.92 kB / 0.8392 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.1757, allocations: 4 kB / 0.8392 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.575e-05/0.1757, allocations: 4 kB / 0.8392 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.1758, allocations: 11.98 kB / 0.8392 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.1758, allocations: 4 kB / 0.8392 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.447e-05/0.1758, allocations: 91.27 kB / 0.8393 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1758, allocations: 0 / 0.8393 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003052/0.1761, allocations: 71.88 kB / 0.8394 GB, free: 1.844 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.0007599/0.1769, allocations: 0.8186 MB / 0.8402 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002805/0.1772, allocations: 238.7 kB / 0.8404 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1772, allocations: 4 kB / 0.8404 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.1773, allocations: 145 kB / 0.8405 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.1775, allocations: 4 kB / 0.8405 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004852/0.1779, allocations: 248.2 kB / 0.8408 GB, free: 276 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.726e-05/0.178, allocations: 83.2 kB / 0.8409 GB, free: 172 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.929e-06/0.178, allocations: 0 / 0.8409 GB, free: 172 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.178, allocations: 11.44 kB / 0.8409 GB, free: 160 kB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.178, allocations: 4 kB / 0.8409 GB, free: 156 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.2008, allocations: 3.333 MB / 0.8441 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.35, allocations: 11.5 kB / 0.8441 GB, free: 12.97 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.637297642999329] Failed to read output from testmodel.py, exit status != 0: 11.510023163980804 11.527839618 11.352622429 Calling exit ...