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.001357/0.001357, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001436/0.001436, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.49/1.49, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.002425/0.002425, allocations: 287 kB / 309.8 MB, free: 3.461 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.089/1.089, allocations: 180.6 MB / 0.5337 GB, free: 12.43 MB / 398.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.002884/0.002884, allocations: 101.4 kB / 0.7347 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5757/0.5786, allocations: 95.34 MB / 0.8278 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.002763/0.5814, allocations: 1.507 MB / 0.8293 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.5827, allocations: 0.8168 MB / 0.8301 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.5828, allocations: 0 / 0.8301 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.583, allocations: 139.3 kB / 0.8302 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006395/0.5837, allocations: 182.9 kB / 0.8304 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.5838, allocations: 71.53 kB / 0.8304 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.584, allocations: 65.3 kB / 0.8305 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.5841, allocations: 8.078 kB / 0.8305 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.83e-05/0.5841, allocations: 40.84 kB / 0.8305 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.5843, allocations: 93.22 kB / 0.8306 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.5843, allocations: 3.969 kB / 0.8306 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005114/0.5848, allocations: 237.5 kB / 0.8309 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.585, allocations: 109.1 kB / 0.831 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.5851, allocations: 97.91 kB / 0.8311 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000545/0.5857, allocations: 346.8 kB / 0.8314 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.5857, allocations: 0 / 0.8314 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.935e-06/0.5857, allocations: 0 / 0.8314 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.5857, allocations: 4 kB / 0.8314 GB, free: 1.027 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.0009494/0.5866, allocations: 0.6208 MB / 0.832 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.5867, allocations: 12.84 kB / 0.832 GB, free: 500 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.726e-05/0.5867, allocations: 1.312 kB / 0.832 GB, free: 500 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.609e-05/0.5867, allocations: 31.45 kB / 0.832 GB, free: 460 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.052e-05/0.5868, allocations: 36.77 kB / 0.8321 GB, free: 440 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.5878, allocations: 0.9183 MB / 0.833 GB, free: 8 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.5878, allocations: 384 / 0.833 GB, free: 8 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.5878, allocations: 7.984 kB / 0.833 GB, free: 4 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.5881, allocations: 86.77 kB / 0.8331 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.5882, allocations: 1.094 kB / 0.8331 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.5882, allocations: 0.6562 kB / 0.8331 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.5882, allocations: 0 / 0.8331 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.5885, allocations: 103.4 kB / 0.8332 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.5896, allocations: 0.5782 MB / 0.8337 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.5899, allocations: 101.1 kB / 0.8338 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.5901, allocations: 58.23 kB / 0.8339 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.693e-05/0.5901, allocations: 23.98 kB / 0.8339 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.26e-05/0.5902, allocations: 34.62 kB / 0.8339 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.5902, allocations: 4 kB / 0.8339 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0006407/0.5908, allocations: 212.9 kB / 0.8341 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.5909, allocations: 56.16 kB / 0.8342 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.5925, allocations: 1.208 MB / 0.8354 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.5925, allocations: 29.64 kB / 0.8354 GB, free: 15 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.5927, allocations: 177.6 kB / 0.8356 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.5927, allocations: 10.19 kB / 0.8356 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.5927, allocations: 13.19 kB / 0.8356 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002243/0.593, allocations: 353.2 kB / 0.8359 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.5931, allocations: 50.08 kB / 0.836 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.5932, allocations: 47.66 kB / 0.836 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.5934, allocations: 110.3 kB / 0.8361 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5934, allocations: 0 / 0.8361 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003167/0.5937, allocations: 166.2 kB / 0.8363 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.5938, allocations: 5.875 kB / 0.8363 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.5938, allocations: 0 / 0.8363 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.5938, allocations: 0.6562 kB / 0.8363 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.5939, allocations: 12.05 kB / 0.8363 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.5939, allocations: 4.781 kB / 0.8363 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.189e-05/0.594, allocations: 17.83 kB / 0.8363 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.594, allocations: 0 / 0.8363 GB, free: 14.38 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.0002118/0.5942, allocations: 165.5 kB / 0.8365 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.5943, allocations: 33.48 kB / 0.8365 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.5946, allocations: 178 kB / 0.8367 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5946, allocations: 0 / 0.8367 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.5946, allocations: 4.031 kB / 0.8367 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5946, allocations: 0.7031 kB / 0.8367 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.595, allocations: 294.7 kB / 0.837 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.595, allocations: 0.6094 kB / 0.837 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.697e-05/0.5951, allocations: 8.844 kB / 0.837 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.5951, allocations: 2.156 kB / 0.837 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.5951, allocations: 0.9375 kB / 0.837 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.5951, allocations: 0 / 0.837 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5951, allocations: 0 / 0.837 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.5954, allocations: 269.9 kB / 0.8372 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.5956, allocations: 134.8 kB / 0.8374 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.5956, allocations: 0.5625 kB / 0.8374 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.5957, allocations: 7 kB / 0.8374 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.5958, allocations: 3.266 kB / 0.8374 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.5958, allocations: 0 / 0.8374 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001165/0.5969, allocations: 0.9579 MB / 0.8383 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5969, allocations: 0 / 0.8383 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005378/0.5975, allocations: 70.02 kB / 0.8384 GB, free: 13.33 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.001051/0.5985, allocations: 0.8533 MB / 0.8392 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003203/0.5988, allocations: 113.3 kB / 0.8393 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5988, allocations: 0 / 0.8393 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.599, allocations: 54.19 kB / 0.8394 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.5994, allocations: 19.72 kB / 0.8394 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009186/0.6086, allocations: 6.764 MB / 0.846 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.609, allocations: 0.7791 MB / 0.8468 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.6091, allocations: 38.72 kB / 0.8468 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.6093, allocations: 93.09 kB / 0.8469 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of SimCode: time 1.483e-06/0.6093, allocations: 0 / 0.8469 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.6381, allocations: 7.239 MB / 0.854 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.606/9.244, allocations: 2.469 kB / 0.854 GB, free: 7.605 MB / 0.5919 GB " [Timeout remaining time 651] (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: 13.353264735022094] Failed to read output from testmodel.py, exit status != 0: 9.374605937977321 9.400777417 8.809949834 Calling exit ...