Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001488/0.001488, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001533/0.001533, allocations: 215.7 kB / 23.78 MB, free: 4.555 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9626/0.9626, allocations: 150 MB / 464 MB, free: 10.24 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001963/0.001963, allocations: 58.59 kB / 0.642 GB, free: 9.93 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1793, allocations: 89.18 MB / 0.7291 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001841/0.1811, allocations: 0.6077 MB / 0.7297 GB, free: 232 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003492/0.1815, allocations: 67.8 kB / 0.7297 GB, free: 164 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.096e-05/0.1815, allocations: 0 / 0.7297 GB, free: 164 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.1815, allocations: 3.984 kB / 0.7297 GB, free: 160 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.522e-05/0.1816, allocations: 11.94 kB / 0.7297 GB, free: 148 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.1819, allocations: 43.94 kB / 0.7298 GB, free: 104 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.376e-05/0.182, allocations: 19.98 kB / 0.7298 GB, free: 84 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/0.1821, allocations: 7.938 kB / 0.7298 GB, free: 76 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.534e-05/0.1821, allocations: 19.97 kB / 0.7298 GB, free: 56 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.1823, allocations: 63.88 kB / 0.7299 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.1824, allocations: 4 kB / 0.7299 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.1825, allocations: 43.94 kB / 0.7299 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.1826, allocations: 19.92 kB / 0.73 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.1826, allocations: 23.88 kB / 0.73 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.1827, allocations: 72.06 kB / 0.7301 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1828, allocations: 0 / 0.7301 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1828, allocations: 0 / 0.7301 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.1828, allocations: 0 / 0.7301 GB, free: 15.83 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.0003987/0.1832, allocations: 286.2 kB / 0.7303 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.1832, allocations: 8.031 kB / 0.7303 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.007e-05/0.1832, allocations: 16.17 kB / 0.7304 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.1833, allocations: 34.75 kB / 0.7304 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.1833, allocations: 8.891 kB / 0.7304 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.1834, allocations: 114.4 kB / 0.7305 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1834, allocations: 4.375 kB / 0.7305 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.1835, allocations: 4.375 kB / 0.7305 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004711/0.1839, allocations: 448.5 kB / 0.7309 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1839, allocations: 0 / 0.7309 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1839, allocations: 0 / 0.7309 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.201e-05/0.184, allocations: 23.97 kB / 0.731 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.229e-05/0.1841, allocations: 39.84 kB / 0.731 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008353/0.1849, allocations: 0.8742 MB / 0.7319 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.185, allocations: 169.1 kB / 0.732 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.736e-05/0.1851, allocations: 84.14 kB / 0.7321 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.1851, allocations: 75.28 kB / 0.7322 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.927e-05/0.1852, allocations: 109.8 kB / 0.7323 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1852, allocations: 0 / 0.7323 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.96e-05/0.1853, allocations: 41.66 kB / 0.7323 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002302/0.1855, allocations: 391.7 kB / 0.7327 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.1857, allocations: 164.3 kB / 0.7328 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1857, allocations: 25.7 kB / 0.7329 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.1858, allocations: 155.5 kB / 0.733 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-06/0.1858, allocations: 0 / 0.733 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.737e-05/0.1859, allocations: 61.59 kB / 0.7331 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1861, allocations: 318.8 kB / 0.7334 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.17e-05/0.1861, allocations: 23.98 kB / 0.7334 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.1865, allocations: 480.5 kB / 0.7339 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.1867, allocations: 201.8 kB / 0.734 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1867, allocations: 4 kB / 0.7341 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003154/0.187, allocations: 185.2 kB / 0.7342 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.187, allocations: 12.64 kB / 0.7342 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1871, allocations: 11.94 kB / 0.7343 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.1871, allocations: 8 kB / 0.7343 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1872, allocations: 43.92 kB / 0.7343 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.1872, allocations: 11.88 kB / 0.7343 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-05/0.1873, allocations: 23.84 kB / 0.7343 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.1873, allocations: 12 kB / 0.7343 GB, free: 10.86 MB / 0.5606 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.0001543/0.1875, allocations: 217 kB / 0.7346 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.1876, allocations: 112.9 kB / 0.7347 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.094e-05/0.1876, allocations: 124.7 kB / 0.7348 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.544e-05/0.1877, allocations: 176.3 kB / 0.7349 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.94e-05/0.1878, allocations: 184.2 kB / 0.7351 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.683e-05/0.1879, allocations: 184.2 kB / 0.7353 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.1882, allocations: 392.3 kB / 0.7357 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.008e-05/0.1882, allocations: 104.9 kB / 0.7358 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/0.1883, allocations: 105 kB / 0.7359 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.359e-05/0.1884, allocations: 188.2 kB / 0.7361 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.662e-05/0.1885, allocations: 180.3 kB / 0.7362 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001161/0.1886, allocations: 184.2 kB / 0.7364 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.863e-05/0.1887, allocations: 184.2 kB / 0.7366 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.1889, allocations: 315.9 kB / 0.7369 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.189, allocations: 113 kB / 0.737 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.1891, allocations: 196.1 kB / 0.7372 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1892, allocations: 109 kB / 0.7373 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.506e-05/0.1893, allocations: 176.3 kB / 0.7374 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.217e-05/0.1893, allocations: 104.9 kB / 0.7375 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001116/0.1894, allocations: 117.3 kB / 0.7377 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1894, allocations: 0 / 0.7377 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003426/0.1898, allocations: 27.98 kB / 0.7377 GB, free: 7.234 MB / 0.5606 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.0005837/0.1904, allocations: 0.8242 MB / 0.7385 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001804/0.1905, allocations: 83.7 kB / 0.7386 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1905, allocations: 0 / 0.7386 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.1905, allocations: 0 / 0.7386 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.191, allocations: 467.7 kB / 0.739 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006068/0.1916, allocations: 275.5 kB / 0.7393 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.119e-05/0.1917, allocations: 71.98 kB / 0.7393 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002275/0.1919, allocations: 52.59 kB / 0.7394 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.192, allocations: 19.44 kB / 0.7394 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.192, allocations: 7.938 kB / 0.7394 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.2167, allocations: 3.318 MB / 0.7427 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.77, allocations: 9.75 kB / 0.7427 GB, free: 2.262 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.598376872949302] Failed to read output from testmodel.py, exit status != 0: 11.94262811797671 11.966904041 11.779569421 Calling exit ...