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.0009499/0.0009499, allocations: 104.8 kB / 16.27 MB, free: 5.93 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.001023/0.001023, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.307/1.307, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7699/0.7699, allocations: 122.8 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 0.4912 GB, free: 7.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.338, allocations: 77.93 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002048/0.3401, allocations: 0.5906 MB / 0.5679 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003529/0.3404, allocations: 69.19 kB / 0.5679 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.3405, allocations: 0 / 0.5679 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.3405, allocations: 0.9375 kB / 0.5679 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.228e-05/0.3406, allocations: 11.7 kB / 0.5679 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.3409, allocations: 40.2 kB / 0.568 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.669e-05/0.3409, allocations: 26.36 kB / 0.568 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.341, allocations: 7.484 kB / 0.568 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.234e-05/0.341, allocations: 16.97 kB / 0.568 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.3412, allocations: 60.47 kB / 0.5681 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.3412, allocations: 1.781 kB / 0.5681 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.421e-05/0.3413, allocations: 37.22 kB / 0.5681 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.381e-05/0.3413, allocations: 23.53 kB / 0.5682 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.3414, allocations: 19.2 kB / 0.5682 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.3415, allocations: 66.98 kB / 0.5682 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3415, allocations: 1.281 kB / 0.5682 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3415, allocations: 1.469 kB / 0.5682 GB, free: 32.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3415, allocations: 0 / 0.5682 GB, free: 32.27 MB / 446.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.0002657/0.3418, allocations: 364.9 kB / 0.5686 GB, free: 31.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3418, allocations: 10.11 kB / 0.5686 GB, free: 31.9 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.3419, allocations: 46.58 kB / 0.5686 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.3419, allocations: 8.281 kB / 0.5686 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.454e-05/0.342, allocations: 168.7 kB / 0.5688 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.342, allocations: 5.484 kB / 0.5688 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.342, allocations: 2.656 kB / 0.5688 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.3422, allocations: 187.4 kB / 0.569 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.3423, allocations: 0 / 0.569 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3423, allocations: 4.109 kB / 0.569 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.323e-05/0.3423, allocations: 24.52 kB / 0.569 GB, free: 31.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.707e-05/0.3424, allocations: 41.03 kB / 0.5691 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.3429, allocations: 0.9049 MB / 0.5699 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.406e-05/0.343, allocations: 167.3 kB / 0.5701 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.343, allocations: 86.39 kB / 0.5702 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.343, allocations: 76.41 kB / 0.5703 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.343, allocations: 113.8 kB / 0.5704 GB, free: 30.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.343, allocations: 0 / 0.5704 GB, free: 30.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.254e-05/0.3431, allocations: 40.09 kB / 0.5704 GB, free: 30.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.3432, allocations: 388.4 kB / 0.5708 GB, free: 29.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.3433, allocations: 168.2 kB / 0.5709 GB, free: 29.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.3433, allocations: 26.83 kB / 0.571 GB, free: 29.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.3434, allocations: 148.2 kB / 0.5711 GB, free: 29.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-06/0.3434, allocations: 6.422 kB / 0.5711 GB, free: 29.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/0.3435, allocations: 52.48 kB / 0.5712 GB, free: 29.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.3435, allocations: 324.5 kB / 0.5715 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-05/0.3436, allocations: 27.98 kB / 0.5715 GB, free: 29.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.3437, allocations: 224.9 kB / 0.5717 GB, free: 28.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.3439, allocations: 199.3 kB / 0.5719 GB, free: 28.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3439, allocations: 2.781 kB / 0.5719 GB, free: 28.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002778/0.3442, allocations: 191.7 kB / 0.5721 GB, free: 28.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3442, allocations: 6.688 kB / 0.5721 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3442, allocations: 7.219 kB / 0.5721 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3442, allocations: 10.09 kB / 0.5721 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3444, allocations: 45.14 kB / 0.5722 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.3444, allocations: 7.625 kB / 0.5722 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.095e-05/0.3445, allocations: 27.66 kB / 0.5722 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.3445, allocations: 9.844 kB / 0.5722 GB, free: 28.48 MB / 446.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 8.315e-05/0.3446, allocations: 210.8 kB / 0.5724 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.3446, allocations: 116.5 kB / 0.5725 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.3447, allocations: 115.7 kB / 0.5726 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/0.3447, allocations: 185.7 kB / 0.5728 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.618e-05/0.3447, allocations: 179.2 kB / 0.573 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/0.3448, allocations: 178.3 kB / 0.5731 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.3449, allocations: 422.5 kB / 0.5735 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.3449, allocations: 103.2 kB / 0.5736 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.552e-05/0.3449, allocations: 111.2 kB / 0.5737 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.202e-05/0.345, allocations: 179.7 kB / 0.5739 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.345, allocations: 186.3 kB / 0.5741 GB, free: 26.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-05/0.345, allocations: 182.6 kB / 0.5743 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.049e-05/0.3451, allocations: 184.4 kB / 0.5744 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.31e-05/0.3451, allocations: 316 kB / 0.5747 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.3452, allocations: 185.4 kB / 0.5749 GB, free: 25.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.3452, allocations: 192.7 kB / 0.5751 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.384e-05/0.3453, allocations: 110.8 kB / 0.5752 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.3453, allocations: 181.5 kB / 0.5754 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.3454, allocations: 101.9 kB / 0.5755 GB, free: 24.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.187e-05/0.3454, allocations: 117.2 kB / 0.5756 GB, free: 24.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3454, allocations: 0 / 0.5756 GB, free: 24.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003118/0.3457, allocations: 31.56 kB / 0.5756 GB, free: 24.9 MB / 446.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.0002677/0.346, allocations: 0.8328 MB / 0.5764 GB, free: 24.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.3462, allocations: 76 kB / 0.5765 GB, free: 24.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3462, allocations: 0 / 0.5765 GB, free: 24.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.3462, allocations: 2.281 kB / 0.5765 GB, free: 24.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.3465, allocations: 471.5 kB / 0.577 GB, free: 23.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/0.3469, allocations: 267 kB / 0.5772 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.347, allocations: 0.7017 MB / 0.5779 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002082/0.3473, allocations: 55.31 kB / 0.578 GB, free: 22.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.3473, allocations: 23.48 kB / 0.578 GB, free: 22.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3473, allocations: 0 / 0.578 GB, free: 22.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.3665, allocations: 2.886 MB / 0.5808 GB, free: 22.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.392/7.759, allocations: 16.53 kB / 0.5808 GB, free: 22.23 MB / 446.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)