Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.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.001551/0.001551, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001589/0.001589, allocations: 220 kB / 22.24 MB, free: 5.109 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.82 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.002539/0.002539, allocations: 299.7 kB / 312.7 MB, free: 2.629 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.266/1.266, allocations: 180.6 MB / 0.5369 GB, free: 14.59 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.Functions.Examples.IsMonotonic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic",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.002949/0.002949, allocations: 100.7 kB / 0.7395 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1848, allocations: 95.38 MB / 0.8327 GB, free: 8.312 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001763/0.1865, allocations: 0.6215 MB / 0.8333 GB, free: 7.691 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0003527/0.1869, allocations: 67.84 kB / 0.8333 GB, free: 7.625 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.1869, allocations: 0 / 0.8333 GB, free: 7.625 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.1869, allocations: 7.984 kB / 0.8334 GB, free: 7.617 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 5.098e-05/0.187, allocations: 7.938 kB / 0.8334 GB, free: 7.609 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.1873, allocations: 43.94 kB / 0.8334 GB, free: 7.566 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 7.552e-05/0.1874, allocations: 23.92 kB / 0.8334 GB, free: 7.543 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 5.203e-05/0.1874, allocations: 8.406 kB / 0.8334 GB, free: 7.535 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 2.515e-05/0.1875, allocations: 7.984 kB / 0.8334 GB, free: 7.527 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.1877, allocations: 75.86 kB / 0.8335 GB, free: 7.453 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.1877, allocations: 4 kB / 0.8335 GB, free: 7.449 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1878, allocations: 39.94 kB / 0.8336 GB, free: 7.41 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.1878, allocations: 15.94 kB / 0.8336 GB, free: 7.395 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.1879, allocations: 19.86 kB / 0.8336 GB, free: 7.375 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.188, allocations: 64.08 kB / 0.8337 GB, free: 7.312 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.188, allocations: 4 kB / 0.8337 GB, free: 7.309 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.813e-06/0.188, allocations: 0 / 0.8337 GB, free: 7.309 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.188, allocations: 0 / 0.8337 GB, free: 7.309 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0003838/0.1884, allocations: 294.2 kB / 0.8339 GB, free: 6.988 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1884, allocations: 9.344 kB / 0.8339 GB, free: 6.98 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.884e-05/0.1885, allocations: 54.59 kB / 0.834 GB, free: 6.918 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.1885, allocations: 8.891 kB / 0.834 GB, free: 6.91 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.66e-05/0.1886, allocations: 106.5 kB / 0.8341 GB, free: 6.781 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1886, allocations: 384 / 0.8341 GB, free: 6.781 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.1886, allocations: 4.375 kB / 0.8341 GB, free: 6.777 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.189, allocations: 446.9 kB / 0.8345 GB, free: 6.258 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.189, allocations: 0 / 0.8345 GB, free: 6.258 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1891, allocations: 4 kB / 0.8345 GB, free: 6.254 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-05/0.1891, allocations: 27.92 kB / 0.8346 GB, free: 6.227 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.898e-05/0.1892, allocations: 35.91 kB / 0.8346 GB, free: 6.191 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007335/0.1899, allocations: 0.8741 MB / 0.8355 GB, free: 5.254 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.19, allocations: 173.1 kB / 0.8356 GB, free: 5.074 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.1901, allocations: 80.14 kB / 0.8357 GB, free: 4.992 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.1901, allocations: 75.28 kB / 0.8358 GB, free: 4.918 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/0.1902, allocations: 113.8 kB / 0.8359 GB, free: 4.797 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1902, allocations: 4 kB / 0.8359 GB, free: 4.793 MB / 0.5763 GB Notification: Performance of matching and sorting (n=0): time 8.026e-05/0.1902, allocations: 37.59 kB / 0.8359 GB, free: 4.75 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002049/0.1904, allocations: 391.7 kB / 0.8363 GB, free: 4.293 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.1906, allocations: 177.5 kB / 0.8365 GB, free: 4.109 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1906, allocations: 29.7 kB / 0.8365 GB, free: 4.074 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1907, allocations: 147.5 kB / 0.8366 GB, free: 3.926 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.013e-05/0.1907, allocations: 8 kB / 0.8366 GB, free: 3.918 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.764e-05/0.1908, allocations: 49.66 kB / 0.8367 GB, free: 3.863 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1909, allocations: 326.8 kB / 0.837 GB, free: 3.535 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.724e-05/0.191, allocations: 23.98 kB / 0.837 GB, free: 3.512 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.1913, allocations: 478.2 kB / 0.8375 GB, free: 2.891 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.1915, allocations: 205.8 kB / 0.8377 GB, free: 2.625 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1915, allocations: 3.938 kB / 0.8377 GB, free: 2.621 MB / 0.5763 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002985/0.1918, allocations: 189.2 kB / 0.8379 GB, free: 2.43 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1918, allocations: 10.19 kB / 0.8379 GB, free: 2.422 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.1919, allocations: 4.656 kB / 0.8379 GB, free: 2.418 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.1919, allocations: 15.92 kB / 0.8379 GB, free: 2.402 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.192, allocations: 39.92 kB / 0.8379 GB, free: 2.363 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.192, allocations: 8 kB / 0.8379 GB, free: 2.355 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.59e-05/0.1921, allocations: 23.89 kB / 0.838 GB, free: 2.332 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.1921, allocations: 8 kB / 0.838 GB, free: 2.324 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * 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.0001437/0.1923, allocations: 224.9 kB / 0.8382 GB, free: 2.098 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.1923, allocations: 112.9 kB / 0.8383 GB, free: 1.98 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.011e-05/0.1924, allocations: 120.5 kB / 0.8384 GB, free: 1.852 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.102e-05/0.1925, allocations: 184.3 kB / 0.8386 GB, free: 1.664 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.751e-05/0.1926, allocations: 184.2 kB / 0.8387 GB, free: 1.477 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.759e-05/0.1926, allocations: 185.9 kB / 0.8389 GB, free: 1.289 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.1929, allocations: 400.2 kB / 0.8393 GB, free: 0.8477 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.213e-05/0.1929, allocations: 101 kB / 0.8394 GB, free: 0.7422 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.885e-05/0.193, allocations: 104.9 kB / 0.8395 GB, free: 0.6328 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.966e-05/0.1931, allocations: 176.3 kB / 0.8397 GB, free: 464 kB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.966e-05/0.1931, allocations: 184.2 kB / 0.8398 GB, free: 272 kB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.323e-05/0.1932, allocations: 180.2 kB / 0.84 GB, free: 84 kB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.142e-05/0.1933, allocations: 184.2 kB / 0.8402 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.1935, allocations: 311.7 kB / 0.8405 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.1935, allocations: 108.9 kB / 0.8406 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.756e-05/0.1936, allocations: 192.1 kB / 0.8408 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.1937, allocations: 109 kB / 0.8409 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.1938, allocations: 188.5 kB / 0.8411 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.1939, allocations: 101 kB / 0.8412 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.141e-05/0.1939, allocations: 112.4 kB / 0.8413 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1939, allocations: 0 / 0.8413 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003227/0.1943, allocations: 28 kB / 0.8413 GB, free: 14.71 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 (0): * Single equations (assignments): 0 * 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.0005301/0.1948, allocations: 0.8399 MB / 0.8421 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001636/0.195, allocations: 76.28 kB / 0.8422 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.195, allocations: 0 / 0.8422 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.195, allocations: 0 / 0.8422 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.1954, allocations: 467.7 kB / 0.8426 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005111/0.1959, allocations: 274.3 kB / 0.8429 GB, free: 13 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.579e-05/0.196, allocations: 79.92 kB / 0.843 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001964/0.1962, allocations: 61.38 kB / 0.843 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.1962, allocations: 23.44 kB / 0.8431 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.1962, allocations: 0 / 0.8431 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.2254, allocations: 3.605 MB / 0.8466 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.16, allocations: 10.92 kB / 0.8466 GB, free: 9.414 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.42319073015824] Failed to read output from testmodel.py, exit status != 0: 11.264153731055558 11.282090467 11.090744709 Calling exit ...