Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.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.0009431/0.0009431, 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.001747/0.001747, 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.8783/0.8783, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.001794/0.001794, allocations: 240.1 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.6702/0.6702, allocations: 138.4 MB / 454.3 MB, free: 30 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.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.7e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.001672/0.001689, allocations: 1.506 MB / 0.6478 GB, free: 344 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002154/0.001904, allocations: 116.5 kB / 0.6479 GB, free: 224 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.001928, allocations: 0 / 0.6479 GB, free: 224 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.001959, allocations: 3.938 kB / 0.6479 GB, free: 220 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.202e-05/0.002001, allocations: 11.88 kB / 0.6479 GB, free: 208 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.00216, allocations: 27.95 kB / 0.6479 GB, free: 180 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.221e-05/0.002222, allocations: 43.84 kB / 0.648 GB, free: 136 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 6.286e-05/0.002285, allocations: 19.98 kB / 0.648 GB, free: 116 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.183e-05/0.002327, allocations: 23.92 kB / 0.648 GB, free: 92 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.231e-05/0.002359, allocations: 15.97 kB / 0.648 GB, free: 76 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.002371, allocations: 7.938 kB / 0.648 GB, free: 68 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.327e-05/0.002424, allocations: 31.97 kB / 0.6481 GB, free: 36 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.249e-05/0.002457, allocations: 19.92 kB / 0.6481 GB, free: 16 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.002474, allocations: 15.92 kB / 0.6481 GB, free: 0 / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.2333/0.2358, allocations: 71.31 kB / 0.6482 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2358, allocations: 0 / 0.6482 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2358, allocations: 0 / 0.6482 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.2358, allocations: 0 / 0.6482 GB, free: 55.83 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004342/0.2363, allocations: 311.7 kB / 0.6485 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.2363, allocations: 11.88 kB / 0.6485 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.894e-05/0.2363, allocations: 37.8 kB / 0.6485 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.2364, allocations: 9.266 kB / 0.6485 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.657e-05/0.2364, allocations: 113.6 kB / 0.6486 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2365, allocations: 4 kB / 0.6486 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.2365, allocations: 1.375 kB / 0.6486 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.2367, allocations: 112.7 kB / 0.6487 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.2367, allocations: 1 kB / 0.6487 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.2367, allocations: 2.562 kB / 0.6487 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/0.2368, allocations: 17.06 kB / 0.6488 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.237, allocations: 121.4 kB / 0.6489 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.2374, allocations: 310.1 kB / 0.6492 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.2375, allocations: 56.27 kB / 0.6492 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.219e-05/0.2376, allocations: 42.8 kB / 0.6493 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002141/0.2378, allocations: 46.08 kB / 0.6493 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.2378, allocations: 34.53 kB / 0.6493 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.894e-06/0.2378, allocations: 0 / 0.6493 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0003415/0.2382, allocations: 141.5 kB / 0.6495 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.2382, allocations: 52.25 kB / 0.6495 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.444e-05/0.2383, allocations: 156.1 kB / 0.6497 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.2383, allocations: 28.25 kB / 0.6497 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.2383, allocations: 119.2 kB / 0.6498 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.2383, allocations: 14 kB / 0.6498 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.2384, allocations: 33.02 kB / 0.6499 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.52e-05/0.2384, allocations: 320 kB / 0.6502 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.2385, allocations: 45.67 kB / 0.6502 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.2386, allocations: 118 kB / 0.6503 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.2389, allocations: 167.5 kB / 0.6505 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2389, allocations: 0.875 kB / 0.6505 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002652/0.2391, allocations: 185 kB / 0.6507 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.2391, allocations: 7.656 kB / 0.6507 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2391, allocations: 2.969 kB / 0.6507 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.2392, allocations: 3.469 kB / 0.6507 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.2393, allocations: 38.2 kB / 0.6507 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.2393, allocations: 5.281 kB / 0.6507 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.557e-05/0.2394, allocations: 29.08 kB / 0.6507 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.2394, allocations: 9.875 kB / 0.6508 GB, free: 54.14 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (13): * Single equations (assignments): 13 * 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 5.798e-05/0.2394, allocations: 122.1 kB / 0.6509 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.2394, allocations: 12.27 kB / 0.6509 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.2397, allocations: 124.7 kB / 0.651 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2397, allocations: 0 / 0.651 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.2397, allocations: 2.484 kB / 0.651 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2397, allocations: 3.938 kB / 0.651 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.2398, allocations: 144.7 kB / 0.6511 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2398, allocations: 0.7969 kB / 0.6511 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.756e-05/0.2399, allocations: 16.58 kB / 0.6512 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2399, allocations: 0 / 0.6512 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.2399, allocations: 4.703 kB / 0.6512 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2399, allocations: 0 / 0.6512 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.2399, allocations: 2.906 kB / 0.6512 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.2401, allocations: 205.9 kB / 0.6514 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.2401, allocations: 7.797 kB / 0.6514 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.2401, allocations: 3.234 kB / 0.6514 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.182e-05/0.2401, allocations: 13.05 kB / 0.6514 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.2402, allocations: 7.984 kB / 0.6514 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.2402, allocations: 5.844 kB / 0.6514 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.988e-05/0.2402, allocations: 106.7 kB / 0.6515 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2402, allocations: 0 / 0.6515 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001843/0.2404, allocations: 21.69 kB / 0.6515 GB, free: 53.6 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 (3): * Single equations (assignments): 3 * 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.0003453/0.2407, allocations: 0.7321 MB / 0.6522 GB, free: 52.94 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.241, allocations: 102.9 kB / 0.6523 GB, free: 52.94 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.241, allocations: 0 / 0.6523 GB, free: 52.94 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.045e-05/0.241, allocations: 44.56 kB / 0.6524 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.2413, allocations: 15.53 kB / 0.6524 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.2417, allocations: 196.3 kB / 0.6526 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.658e-05/0.2417, allocations: 79.25 kB / 0.6527 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.947e-05/0.2418, allocations: 27.27 kB / 0.6527 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.2418, allocations: 28.72 kB / 0.6527 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of SimCode: time 8.52e-07/0.2418, allocations: 0 / 0.6527 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01491/0.2568, allocations: 2.888 MB / 0.6555 GB, free: 51.83 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.51/6.767, allocations: 5.219 kB / 0.6555 GB, free: 51.83 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.45097703486681] Failed to read output from testmodel.py, exit status != 0: 6.842318369075656 6.850087381 6.612584042 Calling exit ...