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.001255/0.001255, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001452/0.001452, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.002544/0.002544, allocations: 286.5 kB / 313.5 MB, free: 2.801 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.249/1.249, allocations: 180.6 MB / 0.5377 GB, free: 13 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic",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.002825/0.002825, allocations: 100.2 kB / 0.7404 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1967, allocations: 95.39 MB / 0.8335 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002142/0.1988, allocations: 0.6077 MB / 0.8341 GB, free: 8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003618/0.1992, allocations: 75.86 kB / 0.8342 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.369e-05/0.1992, allocations: 0 / 0.8342 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.1992, allocations: 7.922 kB / 0.8342 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.056e-05/0.1993, allocations: 4 kB / 0.8342 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.1996, allocations: 51.81 kB / 0.8343 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.461e-05/0.1997, allocations: 19.98 kB / 0.8343 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.809e-05/0.1997, allocations: 8.391 kB / 0.8343 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.311e-05/0.1997, allocations: 19.98 kB / 0.8343 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.1999, allocations: 67.88 kB / 0.8344 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.2, allocations: 0 / 0.8344 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.2001, allocations: 51.88 kB / 0.8344 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.2001, allocations: 15.98 kB / 0.8344 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.2002, allocations: 23.8 kB / 0.8345 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.2003, allocations: 72.02 kB / 0.8345 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.2003, allocations: 0 / 0.8345 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2003, allocations: 0 / 0.8345 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2003, allocations: 0 / 0.8345 GB, free: 7.59 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0003479/0.2007, allocations: 294.2 kB / 0.8348 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2007, allocations: 9.344 kB / 0.8348 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.461e-05/0.2007, allocations: 4.188 kB / 0.8348 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.892e-05/0.2008, allocations: 42.73 kB / 0.8349 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.2008, allocations: 8.891 kB / 0.8349 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.51e-05/0.2009, allocations: 114.4 kB / 0.835 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.2009, allocations: 4.375 kB / 0.835 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.2009, allocations: 384 / 0.835 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.2012, allocations: 179.1 kB / 0.8352 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.2012, allocations: 3.938 kB / 0.8352 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.2012, allocations: 7.984 kB / 0.8352 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.587e-05/0.2012, allocations: 23.97 kB / 0.8352 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.699e-05/0.2013, allocations: 39.91 kB / 0.8352 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008454/0.2022, allocations: 0.878 MB / 0.8361 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.2023, allocations: 169.1 kB / 0.8362 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.2023, allocations: 80.14 kB / 0.8363 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.2024, allocations: 79.22 kB / 0.8364 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.245e-05/0.2024, allocations: 113.8 kB / 0.8365 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.2024, allocations: 0 / 0.8365 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.236e-05/0.2025, allocations: 33.66 kB / 0.8365 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002078/0.2027, allocations: 391.7 kB / 0.8369 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.2029, allocations: 167.6 kB / 0.8371 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.2029, allocations: 29.7 kB / 0.8371 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.203, allocations: 151.5 kB / 0.8372 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.431e-06/0.203, allocations: 4 kB / 0.8372 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.483e-05/0.2031, allocations: 57.59 kB / 0.8373 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2032, allocations: 318.8 kB / 0.8376 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.175e-05/0.2033, allocations: 31.86 kB / 0.8376 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.2035, allocations: 218.6 kB / 0.8378 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.2037, allocations: 205.7 kB / 0.838 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2037, allocations: 0 / 0.838 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003325/0.204, allocations: 193.5 kB / 0.8382 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.2041, allocations: 10.03 kB / 0.8382 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.2041, allocations: 7.938 kB / 0.8382 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2041, allocations: 8 kB / 0.8383 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.2042, allocations: 35.92 kB / 0.8383 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.2042, allocations: 15.92 kB / 0.8383 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.2043, allocations: 27.78 kB / 0.8383 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.2044, allocations: 12.34 kB / 0.8383 GB, free: 3.23 MB / 0.5762 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.0001559/0.2045, allocations: 217.7 kB / 0.8385 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.893e-05/0.2046, allocations: 105 kB / 0.8386 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.512e-05/0.2047, allocations: 124.5 kB / 0.8388 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.557e-05/0.2047, allocations: 176.3 kB / 0.8389 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.314e-05/0.2048, allocations: 188.2 kB / 0.8391 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.189e-05/0.2049, allocations: 189.9 kB / 0.8393 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.2052, allocations: 388.4 kB / 0.8397 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.421e-05/0.2052, allocations: 108.9 kB / 0.8398 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.474e-05/0.2053, allocations: 105 kB / 0.8399 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.981e-05/0.2053, allocations: 176.3 kB / 0.84 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.488e-05/0.2054, allocations: 188.1 kB / 0.8402 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.914e-05/0.2055, allocations: 180.3 kB / 0.8404 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.341e-05/0.2056, allocations: 180.2 kB / 0.8406 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.2058, allocations: 315.7 kB / 0.8409 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.2058, allocations: 108.9 kB / 0.841 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.2059, allocations: 192.2 kB / 0.8411 GB, free: 176 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.2061, allocations: 104.9 kB / 0.8412 GB, free: 64 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.839e-05/0.2062, allocations: 188.5 kB / 0.8414 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.2062, allocations: 104.9 kB / 0.8415 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.729e-05/0.2063, allocations: 114.1 kB / 0.8416 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.2063, allocations: 0 / 0.8416 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004011/0.2067, allocations: 31.94 kB / 0.8417 GB, free: 15.62 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.0005572/0.2072, allocations: 0.8282 MB / 0.8425 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001681/0.2074, allocations: 80.59 kB / 0.8426 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2074, allocations: 0 / 0.8426 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.497e-06/0.2074, allocations: 3.938 kB / 0.8426 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.2078, allocations: 464.9 kB / 0.843 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005914/0.2084, allocations: 274.8 kB / 0.8433 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.2088, allocations: 0.6969 MB / 0.8439 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002123/0.209, allocations: 56.58 kB / 0.844 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.209, allocations: 23.42 kB / 0.844 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.209, allocations: 0 / 0.844 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.2331, allocations: 3.186 MB / 0.8471 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.27, allocations: 3.938 kB / 0.8471 GB, free: 10.12 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.646459584007971] Failed to read output from testmodel.py, exit status != 0: 11.447505883988924 11.464454098 11.260980858 Calling exit ...