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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003443/0.003443, allocations: 290.9 kB / 304.8 MB, free: 3.523 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.127/1.127, allocations: 180.9 MB / 0.5282 GB, free: 1.969 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0028/0.0028, allocations: 96.22 kB / 0.7279 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5093/0.5121, allocations: 94.15 MB / 0.8198 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002715/0.5148, allocations: 1.528 MB / 0.8213 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.5161, allocations: 0.751 MB / 0.8221 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.5162, allocations: 9.188 kB / 0.8221 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.5164, allocations: 122.5 kB / 0.8222 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.5165, allocations: 72.31 kB / 0.8223 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006247/0.5171, allocations: 189.7 kB / 0.8224 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.5173, allocations: 61.23 kB / 0.8225 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.563e-05/0.5173, allocations: 2.312 kB / 0.8225 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.296e-05/0.5174, allocations: 43.45 kB / 0.8225 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.5175, allocations: 92.53 kB / 0.8226 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.5175, allocations: 2.438 kB / 0.8226 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.5179, allocations: 226.9 kB / 0.8229 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.528e-05/0.518, allocations: 59.67 kB / 0.8229 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.23e-05/0.5181, allocations: 64.3 kB / 0.823 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.5184, allocations: 276.8 kB / 0.8232 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5184, allocations: 3.938 kB / 0.8232 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5184, allocations: 1.219 kB / 0.8232 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.5184, allocations: 0 / 0.8232 GB, free: 2.098 MB / 0.5606 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.0006918/0.5191, allocations: 0.5092 MB / 0.8237 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.5192, allocations: 8.781 kB / 0.8237 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.703e-05/0.5192, allocations: 32.12 kB / 0.8238 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.5192, allocations: 21.55 kB / 0.8238 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.5195, allocations: 265.9 kB / 0.824 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.5195, allocations: 384 / 0.8241 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.5195, allocations: 6.094 kB / 0.8241 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.5197, allocations: 83.44 kB / 0.8241 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.5197, allocations: 0 / 0.8241 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.5197, allocations: 1.125 kB / 0.8241 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.5198, allocations: 0 / 0.8241 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.52, allocations: 95.52 kB / 0.8242 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.5205, allocations: 398.4 kB / 0.8246 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.5207, allocations: 87.59 kB / 0.8247 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.5208, allocations: 44.77 kB / 0.8247 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.893e-05/0.5209, allocations: 24.78 kB / 0.8248 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.5209, allocations: 31.62 kB / 0.8248 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.5209, allocations: 0 / 0.8248 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004282/0.5213, allocations: 183.4 kB / 0.825 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.5214, allocations: 51.41 kB / 0.825 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.5217, allocations: 353.4 kB / 0.8253 GB, free: 432 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.5218, allocations: 29.7 kB / 0.8254 GB, free: 396 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.5219, allocations: 136.5 kB / 0.8255 GB, free: 268 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.5219, allocations: 9.266 kB / 0.8255 GB, free: 260 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.5219, allocations: 27.33 kB / 0.8255 GB, free: 236 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.5221, allocations: 343 kB / 0.8259 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.5223, allocations: 91.33 kB / 0.826 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.5224, allocations: 95.31 kB / 0.826 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.5227, allocations: 213.7 kB / 0.8263 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5227, allocations: 0 / 0.8263 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003801/0.5231, allocations: 250.8 kB / 0.8265 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.5231, allocations: 7.75 kB / 0.8265 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5231, allocations: 0 / 0.8265 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.5231, allocations: 1.156 kB / 0.8265 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.226e-05/0.5232, allocations: 18.64 kB / 0.8265 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.5232, allocations: 0 / 0.8265 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.929e-05/0.5233, allocations: 21.42 kB / 0.8265 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.5233, allocations: 2 kB / 0.8265 GB, free: 15.65 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.0001276/0.5234, allocations: 149.4 kB / 0.8267 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.5235, allocations: 20.45 kB / 0.8267 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003007/0.5238, allocations: 146.7 kB / 0.8268 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.5238, allocations: 0 / 0.8268 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5238, allocations: 5.469 kB / 0.8268 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.5238, allocations: 0 / 0.8268 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.5241, allocations: 243.5 kB / 0.8271 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5241, allocations: 0 / 0.8271 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/0.5241, allocations: 10.2 kB / 0.8271 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.5241, allocations: 1.188 kB / 0.8271 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.5241, allocations: 0 / 0.8271 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5241, allocations: 3.938 kB / 0.8271 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5241, allocations: 1.031 kB / 0.8271 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.5245, allocations: 243.2 kB / 0.8273 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.031e-05/0.5245, allocations: 100.2 kB / 0.8274 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.5246, allocations: 0 / 0.8274 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.671e-05/0.5247, allocations: 7.953 kB / 0.8274 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.5247, allocations: 1.156 kB / 0.8274 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.5247, allocations: 5.5 kB / 0.8274 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000268/0.525, allocations: 252.9 kB / 0.8277 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.525, allocations: 0 / 0.8277 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004156/0.5254, allocations: 63.12 kB / 0.8277 GB, free: 14.74 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 (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.0008442/0.5262, allocations: 0.8231 MB / 0.8285 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000316/0.5265, allocations: 152.7 kB / 0.8287 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5265, allocations: 0 / 0.8287 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.5266, allocations: 41.28 kB / 0.8287 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.527, allocations: 12.44 kB / 0.8287 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.5302, allocations: 2.735 MB / 0.8314 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.5306, allocations: 0.7449 MB / 0.8321 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.298e-05/0.5307, allocations: 15.31 kB / 0.8322 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.788e-05/0.5308, allocations: 54.41 kB / 0.8322 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.5308, allocations: 3.938 kB / 0.8322 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03484/0.5656, allocations: 4.282 MB / 0.8364 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.759, allocations: 15.25 kB / 0.8364 GB, free: 9.293 MB / 0.5762 GB " [Timeout remaining time 651] (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 --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: 12.669841169990832] Failed to read output from testmodel.py, exit status != 0: 8.82687228298164 8.842122409 8.32089612 Calling exit ...