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.0007577/0.0007577, 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.0007804/0.0007804, 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.8652/0.8652, 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.001434/0.001434, allocations: 241.9 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.6856/0.6856, allocations: 138.4 MB / 454.3 MB, free: 30.06 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.513e-06/1.513e-06, allocations: 0 / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.871e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.001751/0.00177, allocations: 1.499 MB / 0.6478 GB, free: 372 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2344/0.2362, allocations: 0.7515 MB / 0.6485 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.459e-05/0.2362, allocations: 1 kB / 0.6485 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.2365, allocations: 133.1 kB / 0.6486 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006259/0.2371, allocations: 188.2 kB / 0.6488 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.2373, allocations: 84.81 kB / 0.6489 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.2374, allocations: 68.39 kB / 0.6489 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.147e-05/0.2375, allocations: 5.188 kB / 0.649 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.593e-05/0.2376, allocations: 42.75 kB / 0.649 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.2377, allocations: 88.66 kB / 0.6491 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.2377, allocations: 2.219 kB / 0.6491 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003794/0.2381, allocations: 240.4 kB / 0.6493 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.2382, allocations: 111.1 kB / 0.6494 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.212e-05/0.2383, allocations: 50.8 kB / 0.6495 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.2386, allocations: 373.5 kB / 0.6498 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.2386, allocations: 0.5312 kB / 0.6498 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2386, allocations: 0.7188 kB / 0.6498 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2387, allocations: 2.75 kB / 0.6498 GB, free: 55.71 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.000555/0.2392, allocations: 0.5474 MB / 0.6504 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2392, allocations: 15.19 kB / 0.6504 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.324e-05/0.2393, allocations: 35.58 kB / 0.6504 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.017e-05/0.2393, allocations: 36.89 kB / 0.6504 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005453/0.2399, allocations: 0.87 MB / 0.6513 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.2399, allocations: 384 / 0.6513 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.2399, allocations: 3.75 kB / 0.6513 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.24, allocations: 84.5 kB / 0.6514 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.24, allocations: 0.8438 kB / 0.6514 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.24, allocations: 5.906 kB / 0.6514 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.24, allocations: 0 / 0.6514 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.2402, allocations: 100.1 kB / 0.6515 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.2407, allocations: 0.5366 MB / 0.652 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.2408, allocations: 106.9 kB / 0.6521 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.951e-05/0.2409, allocations: 59.91 kB / 0.6522 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.865e-05/0.2409, allocations: 24.41 kB / 0.6522 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.241, allocations: 35.34 kB / 0.6522 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.843e-06/0.241, allocations: 0 / 0.6522 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0003239/0.2413, allocations: 211.9 kB / 0.6524 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.2413, allocations: 57.28 kB / 0.6525 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008207/0.2421, allocations: 1.213 MB / 0.6537 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.2421, allocations: 25.7 kB / 0.6537 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.2422, allocations: 178.9 kB / 0.6539 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.2422, allocations: 9.219 kB / 0.6539 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.2423, allocations: 16.84 kB / 0.6539 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.695e-05/0.2423, allocations: 349.8 kB / 0.6542 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.487e-05/0.2424, allocations: 46.66 kB / 0.6543 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.086e-05/0.2424, allocations: 52.02 kB / 0.6543 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.2426, allocations: 106 kB / 0.6544 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2426, allocations: 2 kB / 0.6544 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001715/0.2428, allocations: 166.3 kB / 0.6546 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2428, allocations: 9.812 kB / 0.6546 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2428, allocations: 0.5 kB / 0.6546 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2428, allocations: 0.5625 kB / 0.6546 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.519e-05/0.2429, allocations: 12.56 kB / 0.6546 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.2429, allocations: 0 / 0.6546 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.2429, allocations: 8.625 kB / 0.6546 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.2429, allocations: 6.938 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 0.0001011/0.243, allocations: 165.1 kB / 0.6548 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.2431, allocations: 33.81 kB / 0.6548 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.2433, allocations: 175.4 kB / 0.655 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2433, allocations: 2.391 kB / 0.655 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2433, allocations: 1.844 kB / 0.655 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2433, allocations: 0.5938 kB / 0.655 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.2435, allocations: 254 kB / 0.6552 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2435, allocations: 3.938 kB / 0.6552 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.2435, allocations: 10.14 kB / 0.6552 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2435, allocations: 5.469 kB / 0.6552 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.2435, allocations: 6.594 kB / 0.6552 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2435, allocations: 1.5 kB / 0.6552 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2435, allocations: 1.078 kB / 0.6552 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.2437, allocations: 249 kB / 0.6555 GB, free: 53.22 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.2438, allocations: 62.45 kB / 0.6555 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.2438, allocations: 1.625 kB / 0.6555 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.043e-05/0.2439, allocations: 12.12 kB / 0.6555 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.2439, allocations: 3.328 kB / 0.6556 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-06/0.2439, allocations: 0 / 0.6556 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006755/0.2446, allocations: 0.9516 MB / 0.6565 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2446, allocations: 0 / 0.6565 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003716/0.245, allocations: 78.19 kB / 0.6566 GB, free: 52.89 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.0004738/0.2455, allocations: 0.8641 MB / 0.6574 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.2456, allocations: 101.9 kB / 0.6575 GB, free: 52.17 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2456, allocations: 0 / 0.6575 GB, free: 52.17 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.219e-05/0.2457, allocations: 56.19 kB / 0.6575 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.246, allocations: 28.34 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.004876/0.2509, allocations: 6.828 MB / 0.6642 GB, free: 49.57 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.251, allocations: 175 kB / 0.6644 GB, free: 49.48 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.41e-05/0.2511, allocations: 42.58 kB / 0.6645 GB, free: 49.48 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.455e-05/0.2512, allocations: 92.06 kB / 0.6645 GB, free: 49.43 MB / 0.5573 GB Notification: Performance of SimCode: time 1.353e-06/0.2512, allocations: 5.812 kB / 0.6645 GB, free: 49.42 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.2721, allocations: 7.921 MB / 0.6723 GB, free: 48.26 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.452/6.724, allocations: 3.719 kB / 0.6723 GB, free: 48.26 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 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.394070667214692] Failed to read output from testmodel.py, exit status != 0: 6.8045226437971 6.814382947 6.573490807 Calling exit ...