Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.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.001325/0.001325, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001395/0.001395, allocations: 218.9 kB / 23.04 MB, free: 5.074 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.002579/0.002579, allocations: 286.6 kB / 313.5 MB, free: 2.836 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.256/1.256, allocations: 180.6 MB / 0.5377 GB, free: 13.11 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.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate",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.002761/0.002761, allocations: 105 kB / 0.7404 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1732, allocations: 95.38 MB / 0.8335 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002984/0.1762, allocations: 1.529 MB / 0.835 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1776, allocations: 0.7846 MB / 0.8358 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.1776, allocations: 0 / 0.8358 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.1779, allocations: 139.7 kB / 0.8359 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.178, allocations: 63.84 kB / 0.836 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007518/0.1787, allocations: 189.6 kB / 0.8362 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.1788, allocations: 63.81 kB / 0.8362 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.1789, allocations: 15.86 kB / 0.8363 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.529e-05/0.1789, allocations: 35.95 kB / 0.8363 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.1791, allocations: 91.81 kB / 0.8364 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.1791, allocations: 0 / 0.8364 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004506/0.1795, allocations: 255.6 kB / 0.8366 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.175e-05/0.1796, allocations: 59.83 kB / 0.8367 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.1797, allocations: 59.47 kB / 0.8367 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004004/0.1801, allocations: 282.9 kB / 0.837 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1801, allocations: 0 / 0.837 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1801, allocations: 0 / 0.837 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.1801, allocations: 0 / 0.837 GB, free: 5.082 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007081/0.1808, allocations: 444.8 kB / 0.8374 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.1809, allocations: 13.34 kB / 0.8374 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.366e-05/0.1809, allocations: 192 / 0.8374 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.191e-05/0.1809, allocations: 34.73 kB / 0.8375 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.181, allocations: 20.8 kB / 0.8375 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.1812, allocations: 210.7 kB / 0.8377 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1812, allocations: 384 / 0.8377 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.1812, allocations: 4.312 kB / 0.8377 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.1815, allocations: 81.59 kB / 0.8378 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1815, allocations: 0 / 0.8378 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1815, allocations: 3.938 kB / 0.8378 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1815, allocations: 0 / 0.8378 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.1817, allocations: 91.92 kB / 0.8379 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.1823, allocations: 367.9 kB / 0.8382 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.1824, allocations: 82.53 kB / 0.8383 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.1826, allocations: 52.88 kB / 0.8383 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.1826, allocations: 19.98 kB / 0.8384 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.1826, allocations: 34.5 kB / 0.8384 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1826, allocations: 0 / 0.8384 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000432/0.1831, allocations: 181.5 kB / 0.8386 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.1831, allocations: 51.41 kB / 0.8386 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.1835, allocations: 356.5 kB / 0.839 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1835, allocations: 29.7 kB / 0.839 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.886e-05/0.1836, allocations: 136.1 kB / 0.8391 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.1836, allocations: 7.891 kB / 0.8391 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.1837, allocations: 29.7 kB / 0.8392 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1838, allocations: 338.8 kB / 0.8395 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.184, allocations: 99.94 kB / 0.8396 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.1841, allocations: 95.95 kB / 0.8397 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.1844, allocations: 215.5 kB / 0.8399 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1844, allocations: 0 / 0.8399 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003785/0.1848, allocations: 253.4 kB / 0.8401 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1848, allocations: 4 kB / 0.8401 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1848, allocations: 0 / 0.8401 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1848, allocations: 0 / 0.8401 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.558e-05/0.1849, allocations: 15.98 kB / 0.8401 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1849, allocations: 0 / 0.8401 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/0.185, allocations: 15.88 kB / 0.8401 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.185, allocations: 0 / 0.8401 GB, free: 1.668 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001202/0.1851, allocations: 146.4 kB / 0.8403 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.1852, allocations: 23.8 kB / 0.8403 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.1855, allocations: 146.7 kB / 0.8404 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1855, allocations: 0 / 0.8404 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1855, allocations: 0 / 0.8404 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1855, allocations: 0 / 0.8404 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.1857, allocations: 220.6 kB / 0.8407 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1857, allocations: 0 / 0.8407 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.1858, allocations: 7.984 kB / 0.8407 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1858, allocations: 4 kB / 0.8407 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1858, allocations: 3.938 kB / 0.8407 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1858, allocations: 0 / 0.8407 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1858, allocations: 0 / 0.8407 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.1861, allocations: 243.2 kB / 0.8409 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.1862, allocations: 27.84 kB / 0.8409 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1862, allocations: 0 / 0.8409 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.349e-05/0.1863, allocations: 4 kB / 0.8409 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.1863, allocations: 3.984 kB / 0.8409 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.1863, allocations: 4.031 kB / 0.8409 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002522/0.1866, allocations: 251 kB / 0.8412 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1866, allocations: 0 / 0.8412 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003547/0.1869, allocations: 75.8 kB / 0.8413 GB, free: 464 kB / 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 (2): * Single equations (assignments): 2 * 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.0008623/0.1878, allocations: 0.8176 MB / 0.8421 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003162/0.1881, allocations: 147.9 kB / 0.8422 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.1881, allocations: 8 kB / 0.8422 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.1882, allocations: 43.95 kB / 0.8422 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.1885, allocations: 19.02 kB / 0.8423 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.1916, allocations: 2.72 MB / 0.8449 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.192, allocations: 0.7392 MB / 0.8456 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.937e-05/0.192, allocations: 16.48 kB / 0.8457 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.385e-05/0.1921, allocations: 51.42 kB / 0.8457 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.1921, allocations: 0 / 0.8457 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.2172, allocations: 4.443 MB / 0.85 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.38, allocations: 4.484 kB / 0.85 GB, free: 7.496 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.581527181027923] Failed to read output from testmodel.py, exit status != 0: 11.541924994031433 11.565464937 11.381013544 Calling exit ...