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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",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.001199/0.001199, allocations: 99.39 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.001645/0.001645, 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.61/1.61, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001823/0.001823, allocations: 274.7 kB / 291.2 MB, free: 2.016 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.8252/0.8252, allocations: 144.6 MB / 487 MB, free: 7.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004405/0.0004407, allocations: 13.72 kB / 0.5684 GB, free: 38.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1499, allocations: 83.08 MB / 0.6495 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.00146/0.1514, allocations: 1.193 MB / 0.6507 GB, free: 2.457 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002328/0.1517, allocations: 116.2 kB / 0.6508 GB, free: 2.344 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.1517, allocations: 0 / 0.6508 GB, free: 2.344 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.1518, allocations: 1.156 kB / 0.6508 GB, free: 2.344 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.986e-05/0.1518, allocations: 8.641 kB / 0.6508 GB, free: 2.336 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.152, allocations: 23.91 kB / 0.6508 GB, free: 2.312 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.051e-05/0.1521, allocations: 28.5 kB / 0.6509 GB, free: 2.285 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.89e-05/0.1522, allocations: 14.56 kB / 0.6509 GB, free: 2.273 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.105e-05/0.1522, allocations: 15.98 kB / 0.6509 GB, free: 2.258 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.597e-05/0.1523, allocations: 19.92 kB / 0.6509 GB, free: 2.238 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1523, allocations: 0 / 0.6509 GB, free: 2.238 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-05/0.1524, allocations: 35.91 kB / 0.6509 GB, free: 2.203 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.1524, allocations: 8.703 kB / 0.651 GB, free: 2.195 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.1524, allocations: 37.64 kB / 0.651 GB, free: 2.152 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.801e-05/0.1525, allocations: 48.41 kB / 0.651 GB, free: 2.105 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1525, allocations: 0 / 0.651 GB, free: 2.105 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1526, allocations: 0.5938 kB / 0.651 GB, free: 2.105 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1526, allocations: 1.5 kB / 0.651 GB, free: 2.105 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.0004813/0.1531, allocations: 380.8 kB / 0.6514 GB, free: 1.688 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1531, allocations: 8.75 kB / 0.6514 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.557e-05/0.1531, allocations: 38.56 kB / 0.6514 GB, free: 1.633 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.1532, allocations: 16.98 kB / 0.6515 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.1533, allocations: 163 kB / 0.6516 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1533, allocations: 9.484 kB / 0.6516 GB, free: 1.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.1533, allocations: 7.938 kB / 0.6516 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.1536, allocations: 115.1 kB / 0.6517 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1537, allocations: 4.875 kB / 0.6518 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.1537, allocations: 0 / 0.6518 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/0.1537, allocations: 16.52 kB / 0.6518 GB, free: 1.266 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003536/0.1541, allocations: 138.5 kB / 0.6519 GB, free: 1.137 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.1546, allocations: 346.2 kB / 0.6522 GB, free: 0.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.1548, allocations: 76.78 kB / 0.6523 GB, free: 0.668 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/0.1551, allocations: 119.6 kB / 0.6524 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1551, allocations: 35.05 kB / 0.6525 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 3.476e-06/0.1551, allocations: 0.5312 kB / 0.6525 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005653/0.1557, allocations: 171.7 kB / 0.6526 GB, free: 332 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.1557, allocations: 63.34 kB / 0.6527 GB, free: 256 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.1559, allocations: 147.8 kB / 0.6528 GB, free: 96 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1559, allocations: 25.7 kB / 0.6528 GB, free: 64 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.156, allocations: 123.7 kB / 0.653 GB, free: 15.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.133e-05/0.156, allocations: 11.81 kB / 0.653 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.156, allocations: 0 / 0.653 GB, free: 15.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1561, allocations: 322.8 kB / 0.6533 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.1563, allocations: 55.95 kB / 0.6533 GB, free: 15.55 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.1565, allocations: 125.4 kB / 0.6535 GB, free: 15.39 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.1567, allocations: 72.08 kB / 0.6535 GB, free: 15.32 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1567, allocations: 0 / 0.6535 GB, free: 15.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004307/0.1572, allocations: 205.3 kB / 0.6537 GB, free: 15.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1572, allocations: 8 kB / 0.6537 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1572, allocations: 3.984 kB / 0.6537 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1572, allocations: 4 kB / 0.6537 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.1574, allocations: 43.88 kB / 0.6538 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.1574, allocations: 8.297 kB / 0.6538 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.1576, allocations: 35.83 kB / 0.6538 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.1576, allocations: 8 kB / 0.6538 GB, free: 15 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 0.0001561/0.1578, allocations: 117.8 kB / 0.6539 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.1578, allocations: 4 kB / 0.6539 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005519/0.1584, allocations: 145.8 kB / 0.6541 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.1584, allocations: 3.938 kB / 0.6541 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.1584, allocations: 3.953 kB / 0.6541 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1584, allocations: 4 kB / 0.6541 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.1586, allocations: 177.5 kB / 0.6543 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1586, allocations: 0 / 0.6543 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.907e-05/0.1587, allocations: 19.98 kB / 0.6543 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1588, allocations: 4 kB / 0.6543 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1588, allocations: 0 / 0.6543 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1588, allocations: 0 / 0.6543 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1588, allocations: 0 / 0.6543 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.1592, allocations: 227.4 kB / 0.6545 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.1592, allocations: 85.02 kB / 0.6546 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1592, allocations: 0 / 0.6546 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1594, allocations: 19.98 kB / 0.6546 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.1594, allocations: 11.98 kB / 0.6546 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.1594, allocations: 4 kB / 0.6546 GB, free: 14.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.311e-05/0.1595, allocations: 113.1 kB / 0.6547 GB, free: 13.98 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1595, allocations: 0 / 0.6547 GB, free: 13.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1598, allocations: 23.95 kB / 0.6547 GB, free: 13.96 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.0007001/0.1605, allocations: 0.7514 MB / 0.6555 GB, free: 13.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003905/0.1609, allocations: 132.4 kB / 0.6556 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1609, allocations: 3.938 kB / 0.6556 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.161, allocations: 47.97 kB / 0.6557 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.1613, allocations: 11.92 kB / 0.6557 GB, free: 12.99 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005282/0.1618, allocations: 206.8 kB / 0.6559 GB, free: 12.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.1621, allocations: 0.6965 MB / 0.6565 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.659e-05/0.1622, allocations: 28.39 kB / 0.6566 GB, free: 12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.1623, allocations: 31.36 kB / 0.6566 GB, free: 11.96 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1623, allocations: 0 / 0.6566 GB, free: 11.96 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.1773, allocations: 1.824 MB / 0.6584 GB, free: 10.27 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.1776, allocations: 177.1 kB / 0.6585 GB, free: 10.03 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/2.229, allocations: 7.938 kB / 0.6586 GB, free: 10.02 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe 2>&1) Environment - environmentSimulation: