Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.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.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic") translateModel(BuildingSystems.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008527/0.0008527, allocations: 99.62 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.0009092/0.0009093, allocations: 177.3 kB / 15.95 MB, free: 216 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.22/1.22, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0017/0.0017, allocations: 274.8 kB / 291.3 MB, free: 2 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.7697/0.7697, allocations: 144.6 MB / 487 MB, free: 7.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003788, allocations: 11.84 kB / 0.5683 GB, free: 38.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1478, allocations: 83.09 MB / 0.6494 GB, free: 3.723 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.001512/0.1494, allocations: 1.183 MB / 0.6506 GB, free: 2.531 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000256/0.1497, allocations: 115.8 kB / 0.6507 GB, free: 2.418 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.1497, allocations: 0 / 0.6507 GB, free: 2.418 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.1497, allocations: 9.734 kB / 0.6507 GB, free: 2.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.921e-05/0.1498, allocations: 11.98 kB / 0.6507 GB, free: 2.398 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.1499, allocations: 19.97 kB / 0.6507 GB, free: 2.379 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.114e-05/0.15, allocations: 32.45 kB / 0.6508 GB, free: 2.348 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.696e-05/0.1501, allocations: 5.156 kB / 0.6508 GB, free: 2.344 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.342e-05/0.1502, allocations: 19.92 kB / 0.6508 GB, free: 2.324 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.234e-05/0.1502, allocations: 20.58 kB / 0.6508 GB, free: 2.305 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.1502, allocations: 0 / 0.6508 GB, free: 2.305 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.374e-05/0.1503, allocations: 32.55 kB / 0.6508 GB, free: 2.273 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.1503, allocations: 12.47 kB / 0.6509 GB, free: 2.262 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.1504, allocations: 37.69 kB / 0.6509 GB, free: 2.219 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.845e-05/0.1505, allocations: 48.47 kB / 0.6509 GB, free: 2.172 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.1505, allocations: 1.781 kB / 0.6509 GB, free: 2.172 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1505, allocations: 0 / 0.6509 GB, free: 2.172 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1505, allocations: 0 / 0.6509 GB, free: 2.172 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005266/0.151, allocations: 385.4 kB / 0.6513 GB, free: 1.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1511, allocations: 9.531 kB / 0.6513 GB, free: 1.742 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.1511, allocations: 7.984 kB / 0.6513 GB, free: 1.734 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.1513, allocations: 170.9 kB / 0.6515 GB, free: 1.527 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1513, allocations: 3.953 kB / 0.6515 GB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.1513, allocations: 4.656 kB / 0.6515 GB, free: 1.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.1516, allocations: 120.1 kB / 0.6516 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1516, allocations: 0 / 0.6516 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.1516, allocations: 1.531 kB / 0.6516 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.1517, allocations: 15.98 kB / 0.6516 GB, free: 1.383 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.152, allocations: 140.4 kB / 0.6518 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.1524, allocations: 353.7 kB / 0.6521 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.1527, allocations: 68.69 kB / 0.6522 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.1529, allocations: 116.5 kB / 0.6523 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.1529, allocations: 38.48 kB / 0.6523 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1529, allocations: 0 / 0.6523 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005445/0.1535, allocations: 171.5 kB / 0.6525 GB, free: 448 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.1535, allocations: 60.75 kB / 0.6525 GB, free: 376 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.1536, allocations: 143.6 kB / 0.6527 GB, free: 220 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.1537, allocations: 30.3 kB / 0.6527 GB, free: 184 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.009e-05/0.1537, allocations: 123.8 kB / 0.6528 GB, free: 56 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.006e-05/0.1538, allocations: 8.906 kB / 0.6528 GB, free: 48 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.1538, allocations: 4 kB / 0.6528 GB, free: 44 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1539, allocations: 322.8 kB / 0.6531 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.1541, allocations: 55.95 kB / 0.6532 GB, free: 15.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.1543, allocations: 132.8 kB / 0.6533 GB, free: 15.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.1545, allocations: 67.95 kB / 0.6534 GB, free: 15.44 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1545, allocations: 0 / 0.6534 GB, free: 15.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004224/0.1549, allocations: 205.2 kB / 0.6536 GB, free: 15.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1549, allocations: 4 kB / 0.6536 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.1549, allocations: 4 kB / 0.6536 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.155, allocations: 7.984 kB / 0.6536 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.1551, allocations: 40.23 kB / 0.6536 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.1551, allocations: 11.94 kB / 0.6536 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.1553, allocations: 27.92 kB / 0.6537 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.1553, allocations: 8 kB / 0.6537 GB, free: 15.13 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (13): * Single equations (assignments): 13 * 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 7.96e-05/0.1554, allocations: 121.8 kB / 0.6538 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.1554, allocations: 7.906 kB / 0.6538 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.1558, allocations: 146.1 kB / 0.6539 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1558, allocations: 4 kB / 0.6539 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1558, allocations: 0 / 0.6539 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1558, allocations: 3.953 kB / 0.6539 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.156, allocations: 177.5 kB / 0.6541 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.156, allocations: 4 kB / 0.6541 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.29e-05/0.1561, allocations: 23.98 kB / 0.6541 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1561, allocations: 0 / 0.6541 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1561, allocations: 0 / 0.6541 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1561, allocations: 0 / 0.6541 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1561, allocations: 4 kB / 0.6541 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.1565, allocations: 223.4 kB / 0.6544 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.1566, allocations: 89.02 kB / 0.6544 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.1566, allocations: 0 / 0.6544 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1567, allocations: 19.92 kB / 0.6545 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.1567, allocations: 7.984 kB / 0.6545 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.1567, allocations: 4 kB / 0.6545 GB, free: 14.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.035e-05/0.1568, allocations: 108.8 kB / 0.6546 GB, free: 14.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1568, allocations: 0 / 0.6546 GB, free: 14.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1571, allocations: 16 kB / 0.6546 GB, free: 14.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 (3): * Single equations (assignments): 3 * 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.0001219/0.1572, allocations: 107.2 kB / 0.6547 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003729/0.1576, allocations: 132.3 kB / 0.6548 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1576, allocations: 0 / 0.6548 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.1577, allocations: 52.02 kB / 0.6549 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.1579, allocations: 8 kB / 0.6549 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.1583, allocations: 173 kB / 0.655 GB, free: 13.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.1585, allocations: 0.7004 MB / 0.6557 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.719e-05/0.1586, allocations: 24.41 kB / 0.6558 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.1587, allocations: 11.44 kB / 0.6558 GB, free: 12.83 MB / 462.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1587, allocations: 0 / 0.6558 GB, free: 12.83 MB / 462.1 MB Notification: Performance of Templates: time 0.002816/0.1615, allocations: 0.8077 MB / 0.6566 GB, free: 12.02 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe 2>&1) Environment - environmentSimulation: