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.0007744/0.0007743, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0007843/0.0007843, allocations: 172.7 kB / 15.95 MB, free: 208 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.283/1.283, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001579/0.001579, allocations: 267.1 kB / 291.3 MB, free: 1.984 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.7967/0.7967, allocations: 144.7 MB / 487.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003661, allocations: 14.5 kB / 0.5686 GB, free: 38.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1387, allocations: 83.1 MB / 0.6497 GB, free: 3.426 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.001377/0.1401, allocations: 1.181 MB / 0.6509 GB, free: 2.234 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002545/0.1404, allocations: 123.6 kB / 0.651 GB, free: 2.113 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.1404, allocations: 0.9375 kB / 0.651 GB, free: 2.113 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.1405, allocations: 3.938 kB / 0.651 GB, free: 2.109 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.298e-05/0.1405, allocations: 8.812 kB / 0.651 GB, free: 2.102 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.1407, allocations: 17.72 kB / 0.651 GB, free: 2.086 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.654e-05/0.1408, allocations: 43.84 kB / 0.6511 GB, free: 2.043 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.835e-05/0.1408, allocations: 8 kB / 0.6511 GB, free: 2.035 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.887e-05/0.1409, allocations: 16.89 kB / 0.6511 GB, free: 2.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.033e-05/0.1409, allocations: 15.92 kB / 0.6511 GB, free: 2.004 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1409, allocations: 7.984 kB / 0.6511 GB, free: 1.996 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.492e-05/0.141, allocations: 39.39 kB / 0.6511 GB, free: 1.961 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.1411, allocations: 11.94 kB / 0.6512 GB, free: 1.949 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.1411, allocations: 29.7 kB / 0.6512 GB, free: 1.914 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.001e-05/0.1412, allocations: 47.92 kB / 0.6512 GB, free: 1.867 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1412, allocations: 0 / 0.6512 GB, free: 1.867 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1412, allocations: 0 / 0.6512 GB, free: 1.867 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.815e-06/0.1412, allocations: 0 / 0.6512 GB, free: 1.867 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.0004476/0.1417, allocations: 385.2 kB / 0.6516 GB, free: 1.445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.1417, allocations: 8.531 kB / 0.6516 GB, free: 1.438 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.393e-05/0.1417, allocations: 39.3 kB / 0.6516 GB, free: 1.391 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.251e-05/0.1418, allocations: 11.84 kB / 0.6517 GB, free: 1.379 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.1419, allocations: 176.2 kB / 0.6518 GB, free: 1.168 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1419, allocations: 7.953 kB / 0.6518 GB, free: 1.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.617e-06/0.1419, allocations: 0 / 0.6518 GB, free: 1.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.1422, allocations: 120 kB / 0.6519 GB, free: 1.039 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1422, allocations: 4.531 kB / 0.652 GB, free: 1.035 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1422, allocations: 4.531 kB / 0.652 GB, free: 1.031 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.1422, allocations: 10.44 kB / 0.652 GB, free: 1.023 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.1426, allocations: 146.3 kB / 0.6521 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.1429, allocations: 338 kB / 0.6524 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.1431, allocations: 73.31 kB / 0.6525 GB, free: 436 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.1433, allocations: 47.14 kB / 0.6525 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/0.1435, allocations: 123.6 kB / 0.6527 GB, free: 248 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.1436, allocations: 41 kB / 0.6527 GB, free: 200 kB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.1436, allocations: 0 / 0.6527 GB, free: 200 kB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005024/0.1441, allocations: 169.8 kB / 0.6529 GB, free: 28 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.1441, allocations: 53.12 kB / 0.6529 GB, free: 15.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.1443, allocations: 147.3 kB / 0.6531 GB, free: 15.81 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.1443, allocations: 29.7 kB / 0.6531 GB, free: 15.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.1443, allocations: 120.3 kB / 0.6532 GB, free: 15.65 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.1444, allocations: 15.8 kB / 0.6532 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.1444, allocations: 0.6562 kB / 0.6532 GB, free: 15.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1445, allocations: 324.5 kB / 0.6535 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.1447, allocations: 58.89 kB / 0.6536 GB, free: 15.26 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.1449, allocations: 126.3 kB / 0.6537 GB, free: 15.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.145, allocations: 72.12 kB / 0.6538 GB, free: 15.03 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.145, allocations: 0 / 0.6538 GB, free: 15.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004119/0.1455, allocations: 213.4 kB / 0.654 GB, free: 14.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1455, allocations: 5.719 kB / 0.654 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1455, allocations: 4 kB / 0.654 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1455, allocations: 7.953 kB / 0.654 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.1457, allocations: 39.91 kB / 0.654 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1457, allocations: 4 kB / 0.654 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1458, allocations: 32.02 kB / 0.6541 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.1458, allocations: 12 kB / 0.6541 GB, free: 14.71 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 9.135e-05/0.1459, allocations: 125.8 kB / 0.6542 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.1459, allocations: 0 / 0.6542 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.1463, allocations: 141.8 kB / 0.6543 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1463, allocations: 4 kB / 0.6543 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1463, allocations: 3.953 kB / 0.6543 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1463, allocations: 0 / 0.6543 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.1465, allocations: 181.5 kB / 0.6545 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1465, allocations: 0 / 0.6545 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.091e-05/0.1466, allocations: 19.98 kB / 0.6545 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1466, allocations: 0 / 0.6545 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1466, allocations: 4 kB / 0.6545 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1466, allocations: 3.938 kB / 0.6545 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1466, allocations: 4 kB / 0.6545 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.147, allocations: 223.4 kB / 0.6547 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.147, allocations: 85.02 kB / 0.6548 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.147, allocations: 0 / 0.6548 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1471, allocations: 19.98 kB / 0.6548 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.1472, allocations: 7.984 kB / 0.6549 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1472, allocations: 4 kB / 0.6549 GB, free: 13.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.017e-05/0.1473, allocations: 107.2 kB / 0.655 GB, free: 13.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1473, allocations: 0 / 0.655 GB, free: 13.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1475, allocations: 23.98 kB / 0.655 GB, free: 13.67 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.0006292/0.1482, allocations: 0.7553 MB / 0.6557 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003447/0.1485, allocations: 124.5 kB / 0.6558 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1485, allocations: 0 / 0.6558 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.1487, allocations: 51.91 kB / 0.6559 GB, free: 12.72 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.149, allocations: 16.81 kB / 0.6559 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/0.1494, allocations: 214.7 kB / 0.6561 GB, free: 12.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1497, allocations: 0.6926 MB / 0.6568 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.159e-05/0.1498, allocations: 28.41 kB / 0.6568 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.1499, allocations: 19.44 kB / 0.6568 GB, free: 11.69 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1499, allocations: 0 / 0.6568 GB, free: 11.69 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01106/0.1609, allocations: 1.845 MB / 0.6586 GB, free: 9.977 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000144/0.1611, allocations: 190 kB / 0.6588 GB, free: 9.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/1.767, allocations: 0 / 0.6588 GB, free: 9.73 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: