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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 107.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002817/0.002817, allocations: 284.8 kB / 303 MB, free: 9.512 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.232/1.232, allocations: 180.9 MB / 0.5261 GB, free: 14.71 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 109 kB / 0.7248 GB, free: 40.11 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1907, allocations: 94.16 MB / 0.8168 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001956/0.1927, allocations: 0.6061 MB / 0.8174 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003644/0.193, allocations: 71.84 kB / 0.8174 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.193, allocations: 0 / 0.8174 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.1931, allocations: 3.938 kB / 0.8174 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.999e-05/0.1931, allocations: 11.92 kB / 0.8174 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.1934, allocations: 39.95 kB / 0.8175 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.79e-05/0.1935, allocations: 27.91 kB / 0.8175 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.191e-05/0.1936, allocations: 4 kB / 0.8175 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.656e-05/0.1936, allocations: 11.98 kB / 0.8175 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.1938, allocations: 67.86 kB / 0.8176 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.1938, allocations: 4 kB / 0.8176 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1939, allocations: 39.95 kB / 0.8176 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.194, allocations: 15.92 kB / 0.8176 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.194, allocations: 19.88 kB / 0.8177 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.1942, allocations: 72 kB / 0.8177 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1942, allocations: 3.938 kB / 0.8177 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1942, allocations: 4 kB / 0.8177 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.1942, allocations: 0 / 0.8177 GB, free: 4.371 MB / 0.5606 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.0004436/0.1946, allocations: 363.3 kB / 0.8181 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1947, allocations: 12.03 kB / 0.8181 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.592e-05/0.1947, allocations: 38.69 kB / 0.8181 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.1948, allocations: 12.89 kB / 0.8182 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.1949, allocations: 168.3 kB / 0.8183 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1949, allocations: 4.375 kB / 0.8183 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.1949, allocations: 4.375 kB / 0.8183 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.1952, allocations: 175.2 kB / 0.8185 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1952, allocations: 0 / 0.8185 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.1952, allocations: 8 kB / 0.8185 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.517e-05/0.1953, allocations: 27.91 kB / 0.8185 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.585e-05/0.1954, allocations: 39.91 kB / 0.8186 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009735/0.1964, allocations: 0.9062 MB / 0.8194 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.1965, allocations: 169.1 kB / 0.8196 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.277e-05/0.1965, allocations: 80.14 kB / 0.8197 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.45e-05/0.1966, allocations: 75.28 kB / 0.8198 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.246e-05/0.1967, allocations: 113.8 kB / 0.8199 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.1967, allocations: 4 kB / 0.8199 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 9.796e-05/0.1968, allocations: 37.81 kB / 0.8199 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002812/0.1971, allocations: 391.7 kB / 0.8203 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.1973, allocations: 168.4 kB / 0.8204 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.1973, allocations: 25.7 kB / 0.8205 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.1974, allocations: 155.5 kB / 0.8206 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-06/0.1974, allocations: 0 / 0.8206 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.993e-05/0.1975, allocations: 57.66 kB / 0.8207 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.1977, allocations: 330.7 kB / 0.821 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.485e-05/0.1977, allocations: 27.97 kB / 0.821 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.198, allocations: 218.5 kB / 0.8212 GB, free: 400 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.1982, allocations: 201.8 kB / 0.8214 GB, free: 132 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1982, allocations: 3.938 kB / 0.8214 GB, free: 128 kB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003378/0.1985, allocations: 189.2 kB / 0.8216 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1985, allocations: 8 kB / 0.8216 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.1986, allocations: 4 kB / 0.8216 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.1986, allocations: 7.938 kB / 0.8216 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1987, allocations: 44.58 kB / 0.8217 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.1987, allocations: 8 kB / 0.8217 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.919e-05/0.1988, allocations: 27.84 kB / 0.8217 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.1988, allocations: 12.09 kB / 0.8217 GB, free: 15.82 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.0001719/0.199, allocations: 220.9 kB / 0.8219 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-05/0.1991, allocations: 112.9 kB / 0.822 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.119e-05/0.1992, allocations: 120.8 kB / 0.8221 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.699e-05/0.1993, allocations: 176.3 kB / 0.8223 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.97e-05/0.1994, allocations: 188.2 kB / 0.8225 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001737/0.1995, allocations: 176.3 kB / 0.8226 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.1999, allocations: 425.1 kB / 0.8231 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.489e-05/0.1999, allocations: 106.8 kB / 0.8232 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.015e-05/0.2, allocations: 104.9 kB / 0.8233 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.692e-05/0.2001, allocations: 180.3 kB / 0.8234 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.996e-05/0.2002, allocations: 188.2 kB / 0.8236 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.641e-05/0.2003, allocations: 184.2 kB / 0.8238 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.847e-05/0.2004, allocations: 180.2 kB / 0.824 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.2005, allocations: 315.7 kB / 0.8243 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.2008, allocations: 194 kB / 0.8244 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.201, allocations: 184.1 kB / 0.8246 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.2011, allocations: 105 kB / 0.8247 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.2012, allocations: 180.2 kB / 0.8249 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.472e-05/0.2013, allocations: 109 kB / 0.825 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001202/0.2014, allocations: 121.7 kB / 0.8251 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2014, allocations: 0 / 0.8251 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004101/0.2018, allocations: 28 kB / 0.8251 GB, free: 12.08 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 (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.0007537/0.2026, allocations: 0.8323 MB / 0.8259 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000178/0.2027, allocations: 71.78 kB / 0.826 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2027, allocations: 0 / 0.826 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.2027, allocations: 0 / 0.826 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.2032, allocations: 465 kB / 0.8265 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006178/0.2038, allocations: 286.3 kB / 0.8267 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.2042, allocations: 0.6966 MB / 0.8274 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002322/0.2045, allocations: 52.59 kB / 0.8275 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.2045, allocations: 23.44 kB / 0.8275 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.2045, allocations: 0 / 0.8275 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.2312, allocations: 2.975 MB / 0.8304 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.24, allocations: 13.88 kB / 0.8304 GB, free: 6.742 MB / 0.5762 GB " [Timeout remaining time 652] (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: 12.460294982418418] Failed to read output from testmodel.py, exit status != 0: 8.30916339578107 8.336286137 8.136852812 Calling exit ...