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.001789/0.001789, 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.002368/0.002368, allocations: 215.1 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.002454/0.002454, allocations: 281.4 kB / 313.5 MB, free: 2.809 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.253/1.253, allocations: 180.6 MB / 0.5377 GB, free: 13.05 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.002811/0.002811, allocations: 97.77 kB / 0.7404 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2223, allocations: 95.39 MB / 0.8335 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.003961/0.2263, allocations: 1.495 MB / 0.835 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.2284, allocations: 0.8399 MB / 0.8358 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.336e-05/0.2284, allocations: 0 / 0.8358 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.2288, allocations: 131.7 kB / 0.8359 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000887/0.2296, allocations: 188.3 kB / 0.8361 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.2299, allocations: 72.08 kB / 0.8362 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.23, allocations: 67.75 kB / 0.8362 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.2301, allocations: 11.94 kB / 0.8362 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.913e-05/0.2302, allocations: 43.88 kB / 0.8363 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.2304, allocations: 91.83 kB / 0.8364 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.2304, allocations: 4 kB / 0.8364 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005915/0.231, allocations: 259.6 kB / 0.8366 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.2312, allocations: 103.7 kB / 0.8367 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.2313, allocations: 103.1 kB / 0.8368 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005587/0.2319, allocations: 350.7 kB / 0.8371 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2319, allocations: 0 / 0.8371 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2319, allocations: 0 / 0.8371 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.2319, allocations: 0 / 0.8371 GB, free: 4.926 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.001079/0.233, allocations: 0.5468 MB / 0.8377 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.2331, allocations: 13.34 kB / 0.8377 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.94e-05/0.2331, allocations: 192 / 0.8377 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.646e-05/0.2331, allocations: 30.75 kB / 0.8377 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.72e-05/0.2332, allocations: 40.69 kB / 0.8378 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.2344, allocations: 0.8599 MB / 0.8386 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.2344, allocations: 4.375 kB / 0.8386 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.2344, allocations: 4.312 kB / 0.8386 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.2347, allocations: 85.61 kB / 0.8387 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2347, allocations: 7.922 kB / 0.8387 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.2347, allocations: 0 / 0.8387 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2347, allocations: 4 kB / 0.8387 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.235, allocations: 99.94 kB / 0.8388 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009522/0.2359, allocations: 0.5504 MB / 0.8393 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.2362, allocations: 110.5 kB / 0.8394 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.2364, allocations: 56.89 kB / 0.8395 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.057e-05/0.2364, allocations: 27.91 kB / 0.8395 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.2365, allocations: 30.56 kB / 0.8396 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.2365, allocations: 0 / 0.8396 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0006407/0.2371, allocations: 217.4 kB / 0.8398 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.2371, allocations: 55.41 kB / 0.8398 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.2389, allocations: 1.212 MB / 0.841 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.2389, allocations: 25.7 kB / 0.841 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.2391, allocations: 176.1 kB / 0.8412 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.2392, allocations: 7.938 kB / 0.8412 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.2392, allocations: 17.72 kB / 0.8412 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.2394, allocations: 346.9 kB / 0.8415 GB, free: 240 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.2395, allocations: 55.95 kB / 0.8416 GB, free: 184 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.2397, allocations: 51.97 kB / 0.8416 GB, free: 132 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.2399, allocations: 100.8 kB / 0.8417 GB, free: 28 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2399, allocations: 0 / 0.8417 GB, free: 28 kB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004103/0.2403, allocations: 169.5 kB / 0.8419 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.2403, allocations: 4 kB / 0.8419 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2403, allocations: 0 / 0.8419 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.2404, allocations: 7.938 kB / 0.8419 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.2405, allocations: 7.984 kB / 0.8419 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.2405, allocations: 0 / 0.8419 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.2406, allocations: 4 kB / 0.8419 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.2406, allocations: 8.016 kB / 0.8419 GB, free: 15.82 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.0002159/0.2408, allocations: 170.4 kB / 0.8421 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.82e-05/0.2409, allocations: 27.81 kB / 0.8421 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004484/0.2414, allocations: 172.1 kB / 0.8423 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2414, allocations: 0 / 0.8423 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2414, allocations: 0 / 0.8423 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2414, allocations: 0 / 0.8423 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.2418, allocations: 280.5 kB / 0.8426 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2418, allocations: 0 / 0.8426 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.411e-05/0.2419, allocations: 11.94 kB / 0.8426 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2419, allocations: 0 / 0.8426 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.2419, allocations: 0 / 0.8426 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.2419, allocations: 3.984 kB / 0.8426 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.2419, allocations: 0 / 0.8426 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004637/0.2423, allocations: 263.2 kB / 0.8428 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.2425, allocations: 51.72 kB / 0.8429 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.2425, allocations: 4 kB / 0.8429 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.2427, allocations: 8 kB / 0.8429 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.2427, allocations: 7.984 kB / 0.8429 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.2427, allocations: 0 / 0.8429 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001409/0.2441, allocations: 0.9558 MB / 0.8438 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2441, allocations: 0 / 0.8438 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000573/0.2447, allocations: 75.88 kB / 0.8439 GB, free: 13.74 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.00122/0.2459, allocations: 0.8565 MB / 0.8447 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003426/0.2463, allocations: 99.97 kB / 0.8448 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2463, allocations: 0 / 0.8448 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.2464, allocations: 55.95 kB / 0.8449 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.2469, allocations: 25.59 kB / 0.8449 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00991/0.2568, allocations: 6.769 MB / 0.8515 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/0.2574, allocations: 0.7813 MB / 0.8523 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.2575, allocations: 38.94 kB / 0.8523 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.2577, allocations: 91.41 kB / 0.8524 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of SimCode: time 2.615e-06/0.2577, allocations: 0 / 0.8524 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04082/0.2985, allocations: 7.335 MB / 0.8596 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.55, allocations: 8.766 kB / 0.8596 GB, free: 13.73 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: 15.956423925992567] Failed to read output from testmodel.py, exit status != 0: 11.710738649999257 11.738116736 11.501203014 Calling exit ...