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) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001367/0.001367, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 223.2 MB / 239.9 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001689/0.001689, allocations: 274.3 kB / 291.2 MB, free: 1.859 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.771/0.771, allocations: 144.6 MB / 487 MB, free: 7.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003931, allocations: 17.75 kB / 0.5683 GB, free: 38.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1375, allocations: 83.09 MB / 0.6494 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0006969/0.1382, allocations: 329.1 kB / 0.6498 GB, free: 3.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000274/0.1385, allocations: 60.45 kB / 0.6498 GB, free: 3.211 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.1385, allocations: 0 / 0.6498 GB, free: 3.211 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.615e-05/0.1386, allocations: 10.3 kB / 0.6498 GB, free: 3.203 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.75e-05/0.1386, allocations: 3.984 kB / 0.6498 GB, free: 3.199 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.1389, allocations: 39.95 kB / 0.6499 GB, free: 3.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.336e-05/0.139, allocations: 11.98 kB / 0.6499 GB, free: 3.148 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.603e-05/0.1391, allocations: 7.047 kB / 0.6499 GB, free: 3.145 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.972e-05/0.1391, allocations: 23.92 kB / 0.6499 GB, free: 3.121 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.1393, allocations: 67.92 kB / 0.65 GB, free: 3.055 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.1393, allocations: 0 / 0.65 GB, free: 3.055 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.47e-05/0.1394, allocations: 31.97 kB / 0.65 GB, free: 3.023 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.777e-05/0.1395, allocations: 25.16 kB / 0.65 GB, free: 3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.1395, allocations: 29.7 kB / 0.6501 GB, free: 2.965 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.963e-05/0.1396, allocations: 39.95 kB / 0.6501 GB, free: 2.926 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1396, allocations: 1.312 kB / 0.6501 GB, free: 2.926 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1396, allocations: 3.938 kB / 0.6501 GB, free: 2.922 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.1396, allocations: 0 / 0.6501 GB, free: 2.922 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.0003417/0.14, allocations: 351.9 kB / 0.6504 GB, free: 2.531 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.14, allocations: 8.531 kB / 0.6504 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.1401, allocations: 7.906 kB / 0.6504 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.1402, allocations: 163.9 kB / 0.6506 GB, free: 2.316 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.1402, allocations: 10.23 kB / 0.6506 GB, free: 2.309 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.1402, allocations: 3.938 kB / 0.6506 GB, free: 2.305 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.1405, allocations: 181.6 kB / 0.6508 GB, free: 2.102 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1405, allocations: 0.6562 kB / 0.6508 GB, free: 2.102 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.1405, allocations: 0.9062 kB / 0.6508 GB, free: 2.102 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.595e-05/0.1406, allocations: 24.64 kB / 0.6508 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.58e-05/0.1407, allocations: 39.89 kB / 0.6509 GB, free: 2.039 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007233/0.1414, allocations: 0.9098 MB / 0.6517 GB, free: 1.062 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.1415, allocations: 170.2 kB / 0.6519 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.1416, allocations: 76.09 kB / 0.652 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.1416, allocations: 111 kB / 0.6521 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.1416, allocations: 0.5938 kB / 0.6521 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.002e-05/0.1417, allocations: 45.48 kB / 0.6521 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001496/0.1419, allocations: 385.2 kB / 0.6525 GB, free: 200 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.142, allocations: 167.7 kB / 0.6527 GB, free: 24 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.1421, allocations: 30.2 kB / 0.6527 GB, free: 15.99 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.2e-05/0.1422, allocations: 148.1 kB / 0.6528 GB, free: 15.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.1422, allocations: 0 / 0.6528 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/0.1422, allocations: 8.562 kB / 0.6528 GB, free: 15.83 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.1423, allocations: 315.6 kB / 0.6531 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.71e-05/0.1423, allocations: 28.34 kB / 0.6532 GB, free: 15.49 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.1425, allocations: 222.7 kB / 0.6534 GB, free: 15.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.392e-05/0.1426, allocations: 63.19 kB / 0.6534 GB, free: 15.13 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1426, allocations: 4 kB / 0.6534 GB, free: 15.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002717/0.1429, allocations: 193.8 kB / 0.6536 GB, free: 14.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1429, allocations: 11.94 kB / 0.6536 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1429, allocations: 4.656 kB / 0.6536 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1429, allocations: 8 kB / 0.6536 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.143, allocations: 39.92 kB / 0.6537 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.1431, allocations: 8 kB / 0.6537 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.128e-05/0.1432, allocations: 31.75 kB / 0.6537 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.1432, allocations: 8 kB / 0.6537 GB, free: 14.82 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.1433, allocations: 217 kB / 0.6539 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.78e-05/0.1434, allocations: 112.9 kB / 0.654 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.662e-05/0.1434, allocations: 112.8 kB / 0.6542 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.604e-05/0.1435, allocations: 184.3 kB / 0.6543 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.474e-05/0.1436, allocations: 180.2 kB / 0.6545 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.607e-05/0.1436, allocations: 184.2 kB / 0.6547 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.1439, allocations: 421.1 kB / 0.6551 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.639e-05/0.144, allocations: 105 kB / 0.6552 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.421e-05/0.144, allocations: 105 kB / 0.6553 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/0.1441, allocations: 188.2 kB / 0.6555 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/0.1443, allocations: 180.2 kB / 0.6556 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001294/0.1444, allocations: 184.4 kB / 0.6558 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001275/0.1445, allocations: 180.2 kB / 0.656 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.1447, allocations: 319.7 kB / 0.6563 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.1448, allocations: 190 kB / 0.6565 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.145, allocations: 188.2 kB / 0.6566 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.549e-05/0.1451, allocations: 109 kB / 0.6567 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/0.1452, allocations: 180.2 kB / 0.6569 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.1452, allocations: 105 kB / 0.657 GB, free: 11.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.169e-05/0.1453, allocations: 120.3 kB / 0.6571 GB, free: 11.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1453, allocations: 0 / 0.6571 GB, free: 11.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003394/0.1457, allocations: 32.09 kB / 0.6572 GB, free: 11.09 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001714/0.1458, allocations: 190.5 kB / 0.6573 GB, free: 10.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.146, allocations: 72.34 kB / 0.6574 GB, free: 10.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.146, allocations: 0 / 0.6574 GB, free: 10.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/0.146, allocations: 7.938 kB / 0.6574 GB, free: 10.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.1463, allocations: 0.5232 MB / 0.6579 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.1465, allocations: 242.6 kB / 0.6582 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.1468, allocations: 0.6932 MB / 0.6588 GB, free: 9.301 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000187/0.147, allocations: 56.58 kB / 0.6589 GB, free: 9.246 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.662e-05/0.147, allocations: 19.38 kB / 0.6589 GB, free: 9.227 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.147, allocations: 0 / 0.6589 GB, free: 9.227 MB / 462.1 MB Notification: Performance of Templates: time 0.003647/0.1507, allocations: 1.696 MB / 0.6606 GB, free: 7.562 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.makefile Environment - environmentSimulation: (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) Environment - environmentSimulation: