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.0007409/0.0007409, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009988/0.0009988, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8639/0.8639, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.001385/0.001385, allocations: 233.4 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6713/0.6713, allocations: 138.4 MB / 454.3 MB, free: 30.05 MB / 410.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.205e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.001779/0.001801, allocations: 1.495 MB / 0.6478 GB, free: 356 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2274/0.2292, allocations: 0.7517 MB / 0.6485 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.2292, allocations: 0 / 0.6485 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.2295, allocations: 136.8 kB / 0.6486 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006759/0.2302, allocations: 188.7 kB / 0.6488 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.2304, allocations: 74.11 kB / 0.6489 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.2305, allocations: 71.11 kB / 0.6489 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.572e-05/0.2306, allocations: 5.422 kB / 0.649 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.486e-05/0.2306, allocations: 44.12 kB / 0.649 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.2308, allocations: 86.91 kB / 0.6491 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.2308, allocations: 4.25 kB / 0.6491 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003626/0.2311, allocations: 238.9 kB / 0.6493 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.2313, allocations: 113 kB / 0.6494 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/0.2313, allocations: 47.78 kB / 0.6495 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.2318, allocations: 378.8 kB / 0.6498 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2318, allocations: 1.828 kB / 0.6498 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2318, allocations: 0 / 0.6498 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2318, allocations: 0.5312 kB / 0.6498 GB, free: 55.73 MB / 0.5573 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.000683/0.2325, allocations: 0.5488 MB / 0.6504 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.2325, allocations: 12 kB / 0.6504 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.2326, allocations: 34.69 kB / 0.6504 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.2326, allocations: 42.08 kB / 0.6504 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006156/0.2332, allocations: 0.8646 MB / 0.6513 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2332, allocations: 1.75 kB / 0.6513 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.2332, allocations: 1.875 kB / 0.6513 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.2334, allocations: 85.08 kB / 0.6514 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.2334, allocations: 0.8438 kB / 0.6514 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.2334, allocations: 5.688 kB / 0.6514 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2334, allocations: 0 / 0.6514 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.2335, allocations: 105.1 kB / 0.6515 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.2341, allocations: 0.535 MB / 0.652 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.2342, allocations: 104.7 kB / 0.6521 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.714e-05/0.2343, allocations: 59.8 kB / 0.6522 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-05/0.2343, allocations: 21.08 kB / 0.6522 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.2343, allocations: 36.92 kB / 0.6522 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.2343, allocations: 1 kB / 0.6522 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0003195/0.2347, allocations: 217.5 kB / 0.6524 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.2347, allocations: 53.03 kB / 0.6525 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008226/0.2355, allocations: 1.211 MB / 0.6537 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.114e-06/0.2355, allocations: 25.7 kB / 0.6537 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.2356, allocations: 184.7 kB / 0.6539 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.2356, allocations: 5.953 kB / 0.6539 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.2356, allocations: 12.78 kB / 0.6539 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.038e-05/0.2357, allocations: 347.5 kB / 0.6542 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.287e-05/0.2358, allocations: 52.3 kB / 0.6543 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-05/0.2358, allocations: 46.69 kB / 0.6543 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.2359, allocations: 109.5 kB / 0.6544 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2359, allocations: 0 / 0.6544 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001848/0.2361, allocations: 177.3 kB / 0.6546 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2361, allocations: 5.344 kB / 0.6546 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2361, allocations: 0 / 0.6546 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2362, allocations: 0 / 0.6546 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.845e-05/0.2362, allocations: 10.58 kB / 0.6546 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2362, allocations: 0 / 0.6546 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.2363, allocations: 9.625 kB / 0.6546 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.2363, allocations: 1.906 kB / 0.6546 GB, free: 53.78 MB / 0.5573 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 8.732e-05/0.2364, allocations: 161.6 kB / 0.6548 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.2364, allocations: 38.56 kB / 0.6548 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.2366, allocations: 175.4 kB / 0.655 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2366, allocations: 3.938 kB / 0.655 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2366, allocations: 0.6875 kB / 0.655 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2366, allocations: 3.359 kB / 0.655 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.2368, allocations: 260.7 kB / 0.6552 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2368, allocations: 4.844 kB / 0.6552 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.505e-05/0.2368, allocations: 9.359 kB / 0.6552 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.2368, allocations: 1.906 kB / 0.6552 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.2369, allocations: 2.5 kB / 0.6552 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.2369, allocations: 0 / 0.6552 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2369, allocations: 0.8438 kB / 0.6552 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.237, allocations: 257.1 kB / 0.6555 GB, free: 53.22 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/0.2371, allocations: 58.75 kB / 0.6555 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.2371, allocations: 1.562 kB / 0.6555 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.49e-05/0.2372, allocations: 9.547 kB / 0.6555 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.2372, allocations: 3.031 kB / 0.6555 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.2372, allocations: 5.578 kB / 0.6556 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006375/0.2379, allocations: 0.9531 MB / 0.6565 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2379, allocations: 3.938 kB / 0.6565 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004037/0.2383, allocations: 74.95 kB / 0.6566 GB, free: 52.88 MB / 0.5573 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.0004763/0.2387, allocations: 0.8526 MB / 0.6574 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.2389, allocations: 107.8 kB / 0.6575 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2389, allocations: 0.5 kB / 0.6575 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.908e-05/0.239, allocations: 60.98 kB / 0.6576 GB, free: 52.15 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.2393, allocations: 22.94 kB / 0.6576 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00489/0.2442, allocations: 6.82 MB / 0.6642 GB, free: 49.58 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.2443, allocations: 179.2 kB / 0.6644 GB, free: 49.49 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.668e-05/0.2444, allocations: 42.84 kB / 0.6644 GB, free: 49.49 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.869e-05/0.2445, allocations: 96.45 kB / 0.6645 GB, free: 49.43 MB / 0.5573 GB Notification: Performance of SimCode: time 1.332e-06/0.2445, allocations: 0 / 0.6645 GB, free: 49.43 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02161/0.2661, allocations: 7.925 MB / 0.6723 GB, free: 48.27 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.478/6.744, allocations: 6.016 kB / 0.6723 GB, free: 48.27 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.248281818814576] Failed to read output from testmodel.py, exit status != 0: 6.823036567308009 6.830223468 6.596648333 Calling exit ...