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.001707/0.001707, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001975/0.001975, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.551/1.551, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002704/0.002704, allocations: 281.5 kB / 309.8 MB, free: 3.438 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.093/1.093, allocations: 180.6 MB / 0.5338 GB, free: 12.77 MB / 398.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",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.003189/0.003189, allocations: 104.3 kB / 0.7347 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6337/0.6369, allocations: 95.33 MB / 0.8278 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.002574/0.6395, allocations: 1.525 MB / 0.8293 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000325/0.6398, allocations: 120.2 kB / 0.8294 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.6399, allocations: 0 / 0.8294 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.819e-05/0.6399, allocations: 4.734 kB / 0.8294 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.927e-05/0.64, allocations: 16.62 kB / 0.8294 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.6403, allocations: 29.38 kB / 0.8294 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.6404, allocations: 43.92 kB / 0.8295 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.6405, allocations: 12.72 kB / 0.8295 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.474e-05/0.6405, allocations: 17.92 kB / 0.8295 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.6406, allocations: 24.95 kB / 0.8295 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.6406, allocations: 6.875 kB / 0.8295 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.492e-05/0.6407, allocations: 36.12 kB / 0.8296 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.031e-05/0.6407, allocations: 12.75 kB / 0.8296 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.6408, allocations: 31.36 kB / 0.8296 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.6409, allocations: 68.59 kB / 0.8297 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.6409, allocations: 1.5 kB / 0.8297 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6409, allocations: 0 / 0.8297 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.6409, allocations: 0 / 0.8297 GB, free: 1.773 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005606/0.6415, allocations: 383.6 kB / 0.83 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.6415, allocations: 11.14 kB / 0.8301 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.502e-05/0.6416, allocations: 4.188 kB / 0.8301 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.785e-05/0.6416, allocations: 46.19 kB / 0.8301 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.6416, allocations: 8.406 kB / 0.8301 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.6417, allocations: 168.4 kB / 0.8303 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-06/0.6417, allocations: 5.75 kB / 0.8303 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.6417, allocations: 3.281 kB / 0.8303 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.6421, allocations: 118.6 kB / 0.8304 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.6421, allocations: 0 / 0.8304 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.6421, allocations: 4.656 kB / 0.8304 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.6421, allocations: 11.64 kB / 0.8304 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/0.6425, allocations: 126 kB / 0.8305 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.6429, allocations: 340.9 kB / 0.8309 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.6431, allocations: 55.59 kB / 0.8309 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.6433, allocations: 42.64 kB / 0.831 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002989/0.6436, allocations: 121.1 kB / 0.8311 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.6436, allocations: 39.12 kB / 0.8311 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.6436, allocations: 0 / 0.8311 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0006254/0.6442, allocations: 136.6 kB / 0.8312 GB, free: 496 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.6443, allocations: 54.91 kB / 0.8313 GB, free: 432 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.6444, allocations: 148 kB / 0.8314 GB, free: 312 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.6444, allocations: 25.7 kB / 0.8315 GB, free: 280 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/0.6445, allocations: 117.8 kB / 0.8316 GB, free: 168 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.6445, allocations: 13.31 kB / 0.8316 GB, free: 156 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.6445, allocations: 34.52 kB / 0.8316 GB, free: 128 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6447, allocations: 315.9 kB / 0.8319 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.6448, allocations: 45.23 kB / 0.832 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.6451, allocations: 120.5 kB / 0.8321 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.6455, allocations: 167.5 kB / 0.8322 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.6455, allocations: 4 kB / 0.8322 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004845/0.646, allocations: 176.6 kB / 0.8324 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.646, allocations: 8.547 kB / 0.8324 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.6461, allocations: 8.188 kB / 0.8324 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.6461, allocations: 7.5 kB / 0.8324 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.6463, allocations: 40.3 kB / 0.8325 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.6463, allocations: 3.203 kB / 0.8325 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.6464, allocations: 24.67 kB / 0.8325 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.6464, allocations: 11.11 kB / 0.8325 GB, free: 15.48 MB / 0.5919 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 0.0001362/0.6466, allocations: 123 kB / 0.8326 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.6466, allocations: 14.39 kB / 0.8326 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004496/0.647, allocations: 122.1 kB / 0.8327 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.647, allocations: 4.75 kB / 0.8328 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.647, allocations: 0 / 0.8328 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.6471, allocations: 0 / 0.8328 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.6473, allocations: 182.7 kB / 0.8329 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6473, allocations: 4.562 kB / 0.8329 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.708e-05/0.6474, allocations: 14.39 kB / 0.8329 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6474, allocations: 3.938 kB / 0.833 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.6474, allocations: 3.938 kB / 0.833 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6474, allocations: 0.5625 kB / 0.833 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.6474, allocations: 0 / 0.833 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/0.6478, allocations: 204.7 kB / 0.8331 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.6478, allocations: 84.36 kB / 0.8332 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.6479, allocations: 4.688 kB / 0.8332 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.648, allocations: 16 kB / 0.8333 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.648, allocations: 8.906 kB / 0.8333 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.648, allocations: 0 / 0.8333 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001013/0.6481, allocations: 106.8 kB / 0.8334 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.6481, allocations: 2.625 kB / 0.8334 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000268/0.6484, allocations: 15.42 kB / 0.8334 GB, free: 14.73 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 (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.0008662/0.6493, allocations: 0.739 MB / 0.8341 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000431/0.6497, allocations: 102.3 kB / 0.8342 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6497, allocations: 4 kB / 0.8342 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.6499, allocations: 38.78 kB / 0.8342 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.6502, allocations: 12.7 kB / 0.8342 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005816/0.6508, allocations: 204.8 kB / 0.8344 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.6511, allocations: 0.692 MB / 0.8351 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.537e-05/0.6512, allocations: 26.23 kB / 0.8351 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.299e-05/0.6513, allocations: 21.62 kB / 0.8352 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.6513, allocations: 0 / 0.8352 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.6719, allocations: 2.27 MB / 0.8374 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.769, allocations: 3.312 kB / 0.8374 GB, free: 12.66 MB / 0.5919 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 12.946254519978538] Failed to read output from testmodel.py, exit status != 0: 8.895245357009117 8.918481024 8.272992609 Calling exit ...