Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001729/0.001729, 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.001446/0.001446, allocations: 217.8 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002642/0.002642, allocations: 292 kB / 313.5 MB, free: 2.598 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.271/1.271, allocations: 180.6 MB / 0.5377 GB, free: 14.38 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.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.002859/0.002859, allocations: 95.11 kB / 0.7403 GB, free: 28.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2024, allocations: 95.38 MB / 0.8334 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.003281/0.2057, allocations: 1.501 MB / 0.8349 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.2071, allocations: 0.7465 MB / 0.8356 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.288e-05/0.2072, allocations: 8 kB / 0.8356 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.2075, allocations: 127.7 kB / 0.8357 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006122/0.2081, allocations: 194.1 kB / 0.8359 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.2082, allocations: 80.02 kB / 0.836 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.2084, allocations: 63.81 kB / 0.8361 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.054e-05/0.2084, allocations: 7.938 kB / 0.8361 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.292e-05/0.2085, allocations: 43.88 kB / 0.8361 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.2086, allocations: 87.83 kB / 0.8362 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.2087, allocations: 0 / 0.8362 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004287/0.2091, allocations: 259.6 kB / 0.8364 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.2092, allocations: 111.7 kB / 0.8365 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.927e-05/0.2093, allocations: 71.41 kB / 0.8366 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.2098, allocations: 354.6 kB / 0.8369 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2098, allocations: 0 / 0.8369 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2098, allocations: 0 / 0.8369 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.2098, allocations: 0 / 0.8369 GB, free: 4.66 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.0008497/0.2106, allocations: 0.5545 MB / 0.8375 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2107, allocations: 9.344 kB / 0.8375 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.497e-05/0.2107, allocations: 4.188 kB / 0.8375 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.2107, allocations: 30.75 kB / 0.8375 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.183e-05/0.2108, allocations: 32.7 kB / 0.8376 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008707/0.2117, allocations: 0.8677 MB / 0.8384 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.2117, allocations: 8.312 kB / 0.8384 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.2117, allocations: 384 / 0.8384 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.2119, allocations: 89.53 kB / 0.8385 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2119, allocations: 0 / 0.8385 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.2119, allocations: 0 / 0.8385 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2119, allocations: 0 / 0.8385 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.2121, allocations: 103.9 kB / 0.8386 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006723/0.2128, allocations: 0.5427 MB / 0.8391 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.213, allocations: 110.5 kB / 0.8392 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.2131, allocations: 52.89 kB / 0.8393 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.17e-05/0.2132, allocations: 23.97 kB / 0.8393 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.2132, allocations: 34.56 kB / 0.8393 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2132, allocations: 0 / 0.8393 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004888/0.2137, allocations: 217.4 kB / 0.8396 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.2137, allocations: 51.41 kB / 0.8396 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.215, allocations: 1.209 MB / 0.8408 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.215, allocations: 25.7 kB / 0.8408 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.2151, allocations: 176.1 kB / 0.841 GB, free: 372 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.2151, allocations: 11.95 kB / 0.841 GB, free: 360 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.2152, allocations: 13.66 kB / 0.841 GB, free: 340 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002464/0.2154, allocations: 350.7 kB / 0.8413 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.2155, allocations: 51.97 kB / 0.8414 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.2156, allocations: 52.09 kB / 0.8414 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.2159, allocations: 104.8 kB / 0.8415 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2159, allocations: 0 / 0.8415 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003014/0.2162, allocations: 165.4 kB / 0.8417 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2162, allocations: 4 kB / 0.8417 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2162, allocations: 4.094 kB / 0.8417 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2162, allocations: 3.938 kB / 0.8417 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.771e-05/0.2163, allocations: 8 kB / 0.8417 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2163, allocations: 3.938 kB / 0.8417 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.09e-05/0.2164, allocations: 11.94 kB / 0.8417 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.2164, allocations: 4 kB / 0.8417 GB, free: 15.57 MB / 0.5919 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 (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 prepare postOptimizeDAE: time 0.0001713/0.2166, allocations: 166.4 kB / 0.8419 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.59e-05/0.2167, allocations: 31.81 kB / 0.8419 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.217, allocations: 176.2 kB / 0.8421 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.217, allocations: 3.984 kB / 0.8421 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.217, allocations: 4 kB / 0.8421 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.217, allocations: 0 / 0.8421 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.2174, allocations: 248.6 kB / 0.8423 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2174, allocations: 0 / 0.8423 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.2174, allocations: 11.98 kB / 0.8423 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.2174, allocations: 3.938 kB / 0.8423 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.2174, allocations: 0 / 0.8423 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.2175, allocations: 0 / 0.8423 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2175, allocations: 7.969 kB / 0.8424 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.2178, allocations: 267.2 kB / 0.8426 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.313e-05/0.2179, allocations: 51.73 kB / 0.8427 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.2179, allocations: 4 kB / 0.8427 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.218, allocations: 7.984 kB / 0.8427 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.2181, allocations: 0 / 0.8427 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.2181, allocations: 4 kB / 0.8427 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009656/0.219, allocations: 0.9481 MB / 0.8436 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.219, allocations: 4.031 kB / 0.8436 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003861/0.2194, allocations: 79.86 kB / 0.8437 GB, free: 13.49 MB / 0.5919 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.0008914/0.2203, allocations: 0.8565 MB / 0.8445 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000282/0.2206, allocations: 95.94 kB / 0.8446 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2206, allocations: 96 / 0.8446 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.2207, allocations: 55.97 kB / 0.8447 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.2211, allocations: 30.34 kB / 0.8447 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007735/0.2289, allocations: 6.772 MB / 0.8513 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.2291, allocations: 170.1 kB / 0.8515 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.576e-05/0.2292, allocations: 46.92 kB / 0.8515 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.2293, allocations: 91.41 kB / 0.8516 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of SimCode: time 1.393e-06/0.2293, allocations: 0 / 0.8516 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.2602, allocations: 7.463 MB / 0.8589 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.73, allocations: 4.562 kB / 0.8589 GB, free: 14.01 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.152419209014624] Failed to read output from testmodel.py, exit status != 0: 11.885768910986371 11.902233371 11.689312055 Calling exit ...