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.001913/0.001913, allocations: 107.2 kB / 16.4 MB, free: 6.445 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.002352/0.002352, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.905/1.905, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8317/0.8317, allocations: 115.3 MB / 406.5 MB, free: 6.227 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 62.77 kB / 0.5572 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2212, allocations: 76.18 MB / 0.6316 GB, free: 4.887 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001891/0.2231, allocations: 0.595 MB / 0.6322 GB, free: 4.297 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003677/0.2235, allocations: 71.84 kB / 0.6323 GB, free: 4.227 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.065e-05/0.2236, allocations: 0 / 0.6323 GB, free: 4.227 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.2237, allocations: 3.938 kB / 0.6323 GB, free: 4.223 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.136e-05/0.2237, allocations: 7.984 kB / 0.6323 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.2241, allocations: 39.89 kB / 0.6323 GB, free: 4.176 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.669e-05/0.2242, allocations: 23.97 kB / 0.6324 GB, free: 4.152 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.49e-05/0.2243, allocations: 4 kB / 0.6324 GB, free: 4.148 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.089e-05/0.2243, allocations: 23.92 kB / 0.6324 GB, free: 4.125 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.2245, allocations: 59.94 kB / 0.6324 GB, free: 4.066 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.2246, allocations: 4 kB / 0.6324 GB, free: 4.062 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.2247, allocations: 31.97 kB / 0.6325 GB, free: 4.031 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.2247, allocations: 23.91 kB / 0.6325 GB, free: 4.008 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.2248, allocations: 19.88 kB / 0.6325 GB, free: 3.988 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.2249, allocations: 63.78 kB / 0.6326 GB, free: 3.926 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.2249, allocations: 4 kB / 0.6326 GB, free: 3.922 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.225, allocations: 7.938 kB / 0.6326 GB, free: 3.914 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.225, 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.0004103/0.2254, allocations: 358.3 kB / 0.6329 GB, free: 3.516 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.2254, allocations: 16.02 kB / 0.6329 GB, free: 3.5 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.921e-05/0.2255, allocations: 38.75 kB / 0.633 GB, free: 3.453 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.2255, allocations: 12.84 kB / 0.633 GB, free: 3.441 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.2257, allocations: 165.2 kB / 0.6332 GB, free: 3.242 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.2257, allocations: 4.375 kB / 0.6332 GB, free: 3.238 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.2257, allocations: 4.312 kB / 0.6332 GB, free: 3.234 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.226, allocations: 187.2 kB / 0.6333 GB, free: 3.027 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.226, allocations: 0 / 0.6333 GB, free: 3.027 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.226, allocations: 7.938 kB / 0.6333 GB, free: 3.02 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.643e-05/0.2261, allocations: 19.92 kB / 0.6334 GB, free: 3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.62e-05/0.2262, allocations: 39.91 kB / 0.6334 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008019/0.227, allocations: 0.9062 MB / 0.6343 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.2271, allocations: 165.5 kB / 0.6344 GB, free: 1.812 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.165e-05/0.2271, allocations: 88.17 kB / 0.6345 GB, free: 1.723 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.2272, allocations: 75.28 kB / 0.6346 GB, free: 1.648 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.73e-05/0.2273, allocations: 113.8 kB / 0.6347 GB, free: 1.527 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 4.168e-06/0.2273, allocations: 0 / 0.6347 GB, free: 1.527 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001014/0.2274, allocations: 41.53 kB / 0.6347 GB, free: 1.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000202/0.2276, allocations: 387.7 kB / 0.6351 GB, free: 1.027 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.2277, allocations: 167.2 kB / 0.6353 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.2278, allocations: 25.7 kB / 0.6353 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.2279, allocations: 151.1 kB / 0.6354 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-06/0.2279, allocations: 0 / 0.6354 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.228, allocations: 57.61 kB / 0.6355 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.2281, allocations: 322.8 kB / 0.6358 GB, free: 292 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.242e-05/0.2282, allocations: 23.98 kB / 0.6358 GB, free: 268 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.2284, allocations: 226.5 kB / 0.636 GB, free: 15.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.2286, allocations: 205.7 kB / 0.6362 GB, free: 15.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2286, allocations: 0 / 0.6362 GB, free: 15.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003452/0.229, allocations: 189.7 kB / 0.6364 GB, free: 15.49 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.229, allocations: 11.98 kB / 0.6364 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.229, allocations: 4 kB / 0.6364 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.2291, allocations: 7.938 kB / 0.6364 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.2292, allocations: 43.92 kB / 0.6365 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.2292, allocations: 8 kB / 0.6365 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.643e-05/0.2293, allocations: 19.78 kB / 0.6365 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.2294, allocations: 16 kB / 0.6365 GB, free: 15.38 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.0001466/0.2295, allocations: 221 kB / 0.6367 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.2296, allocations: 108.9 kB / 0.6368 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/0.2297, allocations: 120.8 kB / 0.637 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.322e-05/0.2297, allocations: 180.2 kB / 0.6371 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.541e-05/0.2298, allocations: 184.2 kB / 0.6373 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.13e-05/0.2299, allocations: 176.3 kB / 0.6375 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.2302, allocations: 437.1 kB / 0.6379 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.524e-05/0.2302, allocations: 101 kB / 0.638 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.2303, allocations: 104.9 kB / 0.6381 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.34e-05/0.2303, allocations: 180.3 kB / 0.6383 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.59e-05/0.2304, allocations: 188.1 kB / 0.6384 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.426e-05/0.2305, allocations: 188.2 kB / 0.6386 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.236e-05/0.2306, allocations: 176.4 kB / 0.6388 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.2308, allocations: 315.6 kB / 0.6391 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.697e-05/0.2309, allocations: 193.9 kB / 0.6393 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.382e-05/0.231, allocations: 180.2 kB / 0.6394 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.583e-05/0.2311, allocations: 109.3 kB / 0.6396 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/0.2312, allocations: 184.2 kB / 0.6397 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.2312, allocations: 105 kB / 0.6398 GB, free: 11.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.2313, allocations: 117.3 kB / 0.6399 GB, free: 11.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2313, allocations: 0 / 0.6399 GB, free: 11.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003891/0.2317, allocations: 32 kB / 0.64 GB, free: 11.63 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.0005433/0.2323, allocations: 0.832 MB / 0.6408 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.2325, allocations: 76.95 kB / 0.6409 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2325, allocations: 4.125 kB / 0.6409 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.591e-06/0.2325, allocations: 8 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.0003886/0.2329, allocations: 463.6 kB / 0.6413 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006032/0.2335, allocations: 274.5 kB / 0.6416 GB, free: 9.918 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.2338, allocations: 0.6929 MB / 0.6422 GB, free: 9.199 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001982/0.234, allocations: 52.59 kB / 0.6423 GB, free: 9.145 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.2341, allocations: 19.44 kB / 0.6423 GB, free: 9.125 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2341, allocations: 4 kB / 0.6423 GB, free: 9.121 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6724/0.9065, allocations: 2.956 MB / 0.6452 GB, free: 6.281 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.08, allocations: 3.5 kB / 0.6452 GB, free: 6.281 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)