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.001369/0.001369, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00153/0.00153, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.793 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.00414/0.00414, allocations: 291.7 kB / 312.7 MB, free: 2.613 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.275/1.275, allocations: 180.6 MB / 0.5369 GB, free: 14.64 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.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: 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.002935/0.002935, allocations: 99.14 kB / 0.7395 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1878, allocations: 95.37 MB / 0.8326 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.002791/0.1906, allocations: 1.518 MB / 0.8341 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003488/0.191, allocations: 116.5 kB / 0.8342 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.191, allocations: 0 / 0.8342 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.657e-05/0.1911, allocations: 3.938 kB / 0.8342 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.982e-05/0.1911, allocations: 11.92 kB / 0.8342 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.1913, allocations: 31.89 kB / 0.8343 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.852e-05/0.1914, allocations: 39.91 kB / 0.8343 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.551e-05/0.1915, allocations: 8 kB / 0.8343 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.1916, allocations: 23.92 kB / 0.8343 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.74e-05/0.1916, allocations: 15.92 kB / 0.8344 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1916, allocations: 4 kB / 0.8344 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.896e-05/0.1917, allocations: 43.89 kB / 0.8344 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.65e-05/0.1917, allocations: 11.94 kB / 0.8344 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.1918, allocations: 19.86 kB / 0.8344 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1919, allocations: 83.92 kB / 0.8345 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.1919, allocations: 0 / 0.8345 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1919, allocations: 0 / 0.8345 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.1919, allocations: 0 / 0.8345 GB, free: 6.41 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.000512/0.1924, allocations: 308.3 kB / 0.8348 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1925, allocations: 17.33 kB / 0.8348 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.1925, allocations: 30.75 kB / 0.8349 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.1926, allocations: 8.891 kB / 0.8349 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.1927, allocations: 122.3 kB / 0.835 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1927, allocations: 4.375 kB / 0.835 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.1927, allocations: 4.375 kB / 0.835 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.193, allocations: 111 kB / 0.8351 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.193, allocations: 7.938 kB / 0.8351 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.193, allocations: 4 kB / 0.8351 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/0.193, allocations: 8 kB / 0.8351 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/0.1934, allocations: 119.9 kB / 0.8352 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.1938, allocations: 311.6 kB / 0.8355 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.194, allocations: 54.53 kB / 0.8356 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.1942, allocations: 40.92 kB / 0.8356 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.1944, allocations: 51.94 kB / 0.8357 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.1944, allocations: 30.56 kB / 0.8357 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1944, allocations: 0 / 0.8357 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005498/0.195, allocations: 137.5 kB / 0.8358 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.195, allocations: 63.34 kB / 0.8359 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.1952, allocations: 149.9 kB / 0.836 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1952, allocations: 25.7 kB / 0.8361 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.1953, allocations: 119.8 kB / 0.8362 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.1953, allocations: 15.94 kB / 0.8362 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.1953, allocations: 29.67 kB / 0.8362 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1955, allocations: 322.8 kB / 0.8365 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.1956, allocations: 39.95 kB / 0.8366 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.1959, allocations: 125.3 kB / 0.8367 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.1962, allocations: 165.2 kB / 0.8368 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1962, allocations: 0 / 0.8368 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004355/0.1967, allocations: 189.3 kB / 0.837 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1967, allocations: 4 kB / 0.837 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1967, allocations: 4 kB / 0.837 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1967, allocations: 7.938 kB / 0.837 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.1969, allocations: 35.97 kB / 0.8371 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.1969, allocations: 7.938 kB / 0.8371 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.197, allocations: 27.81 kB / 0.8371 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.197, allocations: 12.28 kB / 0.8371 GB, free: 3.492 MB / 0.5762 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 9.571e-05/0.1971, allocations: 122.5 kB / 0.8372 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.1971, allocations: 4 kB / 0.8372 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003813/0.1975, allocations: 117.9 kB / 0.8373 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.1975, allocations: 7.938 kB / 0.8374 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1975, allocations: 0 / 0.8374 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1975, allocations: 3.984 kB / 0.8374 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.1977, allocations: 144.6 kB / 0.8375 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1977, allocations: 0 / 0.8375 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.491e-05/0.1978, allocations: 19.97 kB / 0.8375 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1978, allocations: 0 / 0.8375 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1978, allocations: 0 / 0.8375 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1978, allocations: 3.938 kB / 0.8375 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1978, allocations: 4 kB / 0.8375 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.1982, allocations: 203.4 kB / 0.8377 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-06/0.1982, allocations: 0 / 0.8377 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.1982, allocations: 3.984 kB / 0.8377 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.1983, allocations: 19.86 kB / 0.8377 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.1984, allocations: 8 kB / 0.8377 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.1984, allocations: 4.328 kB / 0.8378 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.874e-05/0.1985, allocations: 112.7 kB / 0.8379 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1985, allocations: 0 / 0.8379 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002703/0.1987, allocations: 15.95 kB / 0.8379 GB, free: 2.629 MB / 0.5762 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.000691/0.1994, allocations: 0.7295 MB / 0.8386 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003795/0.1998, allocations: 107.8 kB / 0.8387 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1998, allocations: 0 / 0.8387 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.1999, allocations: 39.95 kB / 0.8387 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.2002, allocations: 14.69 kB / 0.8387 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.2008, allocations: 209.2 kB / 0.8389 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.937e-05/0.2008, allocations: 79.81 kB / 0.839 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.26e-05/0.2009, allocations: 20.42 kB / 0.839 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.201, allocations: 23.42 kB / 0.8391 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.201, allocations: 7.938 kB / 0.8391 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.23, allocations: 2.76 MB / 0.8418 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.26, allocations: 8.406 kB / 0.8418 GB, free: 14.7 MB / 0.5919 GB " [Timeout remaining time 649] (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: 15.568116377107799] Failed to read output from testmodel.py, exit status != 0: 11.365161179099232 11.384012055 11.188646187 Calling exit ...