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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 102 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 193.2 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7643/0.7643, allocations: 115.3 MB / 406.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.64 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1578, allocations: 76.18 MB / 0.6316 GB, free: 4.871 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001793/0.1597, allocations: 0.5844 MB / 0.6322 GB, free: 4.289 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003224/0.16, allocations: 63.78 kB / 0.6323 GB, free: 4.227 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.42e-05/0.1601, allocations: 4 kB / 0.6323 GB, free: 4.223 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.626e-05/0.1601, allocations: 4 kB / 0.6323 GB, free: 4.219 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.722e-05/0.1602, allocations: 11.92 kB / 0.6323 GB, free: 4.207 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.1605, allocations: 39.95 kB / 0.6323 GB, free: 4.168 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.061e-05/0.1606, allocations: 27.91 kB / 0.6324 GB, free: 4.141 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.1607, allocations: 3.984 kB / 0.6324 GB, free: 4.137 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.187e-05/0.1607, allocations: 11.94 kB / 0.6324 GB, free: 4.125 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.1609, allocations: 63.94 kB / 0.6324 GB, free: 4.062 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1609, allocations: 4 kB / 0.6324 GB, free: 4.059 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.161, allocations: 39.95 kB / 0.6325 GB, free: 4.02 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.1611, allocations: 19.92 kB / 0.6325 GB, free: 4 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.1611, allocations: 15.88 kB / 0.6325 GB, free: 3.984 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1613, allocations: 71.78 kB / 0.6326 GB, free: 3.914 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1613, allocations: 0 / 0.6326 GB, free: 3.914 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1613, allocations: 0 / 0.6326 GB, free: 3.914 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1613, allocations: 0 / 0.6326 GB, free: 3.914 MB / 478.1 MB 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.0003739/0.1617, allocations: 366.3 kB / 0.6329 GB, free: 3.508 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1617, allocations: 8.031 kB / 0.6329 GB, free: 3.5 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.1618, allocations: 38.75 kB / 0.633 GB, free: 3.453 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.1618, allocations: 8.844 kB / 0.633 GB, free: 3.445 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.825e-05/0.1619, allocations: 181.1 kB / 0.6331 GB, free: 3.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1619, allocations: 384 / 0.6331 GB, free: 3.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.1619, allocations: 8.312 kB / 0.6332 GB, free: 3.223 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.1622, allocations: 171.2 kB / 0.6333 GB, free: 3.031 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1622, allocations: 8 kB / 0.6333 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1622, allocations: 3.984 kB / 0.6333 GB, free: 3.02 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-05/0.1623, allocations: 27.97 kB / 0.6334 GB, free: 2.992 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.759e-05/0.1623, allocations: 43.78 kB / 0.6334 GB, free: 2.949 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006413/0.163, allocations: 0.8946 MB / 0.6343 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.907e-05/0.1631, allocations: 173.4 kB / 0.6344 GB, free: 1.805 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.1631, allocations: 88.17 kB / 0.6345 GB, free: 1.715 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.1632, allocations: 79.28 kB / 0.6346 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/0.1632, allocations: 109.8 kB / 0.6347 GB, free: 1.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1632, allocations: 0 / 0.6347 GB, free: 1.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 7.799e-05/0.1633, allocations: 37.61 kB / 0.6347 GB, free: 1.477 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002938/0.1636, allocations: 391.7 kB / 0.6351 GB, free: 1.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.1638, allocations: 167 kB / 0.6353 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1638, allocations: 29.7 kB / 0.6353 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.499e-05/0.1639, allocations: 147.2 kB / 0.6354 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.883e-06/0.1639, allocations: 4 kB / 0.6354 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.918e-05/0.164, allocations: 53.61 kB / 0.6355 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.1642, allocations: 322.8 kB / 0.6358 GB, free: 284 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.067e-05/0.1643, allocations: 27.97 kB / 0.6358 GB, free: 256 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.1645, allocations: 228.6 kB / 0.636 GB, free: 15.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.1648, allocations: 193.8 kB / 0.6362 GB, free: 15.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.1648, allocations: 4 kB / 0.6362 GB, free: 15.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003125/0.1651, allocations: 189.7 kB / 0.6364 GB, free: 15.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1651, allocations: 9.719 kB / 0.6364 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1651, allocations: 8.062 kB / 0.6364 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.1652, allocations: 11.94 kB / 0.6364 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.1653, allocations: 43.92 kB / 0.6365 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.1653, allocations: 7.938 kB / 0.6365 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.1654, allocations: 27.78 kB / 0.6365 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1655, allocations: 8 kB / 0.6365 GB, free: 15.37 MB / 494.1 MB 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.0001605/0.1656, allocations: 217.6 kB / 0.6367 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.41e-05/0.1657, allocations: 112.9 kB / 0.6368 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.218e-05/0.1658, allocations: 128.7 kB / 0.637 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.624e-05/0.1658, allocations: 176.3 kB / 0.6371 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.794e-05/0.1659, allocations: 184.1 kB / 0.6373 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-05/0.166, allocations: 176.3 kB / 0.6375 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.1662, allocations: 425.2 kB / 0.6379 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.581e-05/0.1663, allocations: 108.9 kB / 0.638 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.1663, allocations: 101 kB / 0.6381 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.318e-05/0.1664, allocations: 184.2 kB / 0.6383 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.187e-05/0.1665, allocations: 184.2 kB / 0.6384 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.716e-05/0.1666, allocations: 180.3 kB / 0.6386 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.792e-05/0.1666, allocations: 188.2 kB / 0.6388 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.1668, allocations: 307.7 kB / 0.6391 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.12e-05/0.1669, allocations: 190.1 kB / 0.6393 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.736e-05/0.167, allocations: 192.1 kB / 0.6394 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.91e-05/0.1671, allocations: 105.3 kB / 0.6395 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.1672, allocations: 180.3 kB / 0.6397 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.333e-05/0.1672, allocations: 108.9 kB / 0.6398 GB, free: 11.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.8e-05/0.1674, allocations: 116.6 kB / 0.6399 GB, free: 11.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1674, allocations: 0 / 0.6399 GB, free: 11.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003485/0.1677, allocations: 32 kB / 0.64 GB, free: 11.62 MB / 494.1 MB 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.0005622/0.1683, allocations: 0.836 MB / 0.6408 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.1685, allocations: 76.91 kB / 0.6409 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.1685, allocations: 0 / 0.6409 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.045e-06/0.1685, allocations: 4 kB / 0.6409 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.1689, allocations: 467.8 kB / 0.6413 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005749/0.1695, allocations: 274.5 kB / 0.6416 GB, free: 9.914 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.1698, allocations: 0.689 MB / 0.6422 GB, free: 9.199 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002165/0.17, allocations: 60.58 kB / 0.6423 GB, free: 9.137 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.1701, allocations: 31.36 kB / 0.6423 GB, free: 9.105 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1701, allocations: 0 / 0.6423 GB, free: 9.105 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.1914, allocations: 2.945 MB / 0.6452 GB, free: 6.277 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/7.688, allocations: 7.688 kB / 0.6452 GB, free: 6.273 MB / 494.1 MB (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 --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)