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.001009/0.001009, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.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.002155/0.002155, allocations: 294.7 kB / 290.7 MB, free: 2.027 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9376/0.9376, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 102.7 kB / 0.5953 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1376, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.002412/0.14, allocations: 1.478 MB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002803/0.1403, allocations: 121.1 kB / 0.6818 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.1403, allocations: 0 / 0.6818 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.691e-05/0.1404, allocations: 4.656 kB / 0.6818 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.125e-05/0.1405, allocations: 4.656 kB / 0.6819 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.1407, allocations: 37.64 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.458e-05/0.1407, allocations: 43.86 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.409e-05/0.1408, allocations: 16.27 kB / 0.6819 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.214e-05/0.1409, allocations: 19.97 kB / 0.682 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.852e-05/0.1409, allocations: 19.86 kB / 0.682 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.141, allocations: 4 kB / 0.682 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.181e-05/0.1411, allocations: 39.97 kB / 0.682 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/0.1411, allocations: 15.92 kB / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.1411, allocations: 27.8 kB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.1413, allocations: 71.72 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1413, allocations: 0 / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1413, allocations: 0 / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1413, allocations: 0 / 0.6821 GB, free: 14.7 MB / 494.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.0004826/0.1418, allocations: 383.3 kB / 0.6825 GB, free: 14.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1418, allocations: 8.031 kB / 0.6825 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.1419, allocations: 42.73 kB / 0.6825 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.1419, allocations: 4.844 kB / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.866e-05/0.142, allocations: 168.3 kB / 0.6827 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.142, allocations: 384 / 0.6827 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.142, allocations: 8.375 kB / 0.6827 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.1423, allocations: 118.1 kB / 0.6828 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1424, allocations: 3.938 kB / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.1424, allocations: 0 / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.1424, allocations: 12 kB / 0.6828 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.1427, allocations: 119.9 kB / 0.683 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.1432, allocations: 352.5 kB / 0.6833 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.1434, allocations: 62.47 kB / 0.6834 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.1435, allocations: 36.91 kB / 0.6834 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002851/0.1438, allocations: 129 kB / 0.6835 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1439, allocations: 42.5 kB / 0.6836 GB, free: 13.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.1439, allocations: 0 / 0.6836 GB, free: 13.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005379/0.1444, allocations: 133.5 kB / 0.6837 GB, free: 12.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.1445, allocations: 59.28 kB / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.1446, allocations: 145.8 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.1446, allocations: 25.7 kB / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.1447, allocations: 123.7 kB / 0.684 GB, free: 12.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.1447, allocations: 7.844 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.1447, allocations: 33.7 kB / 0.6841 GB, free: 12.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.1448, allocations: 314.8 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.145, allocations: 47.95 kB / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.1452, allocations: 109.4 kB / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.1456, allocations: 173.2 kB / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1456, allocations: 7.938 kB / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004151/0.146, allocations: 177.3 kB / 0.6849 GB, free: 11.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.146, allocations: 8 kB / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1461, allocations: 3.984 kB / 0.6849 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1461, allocations: 7.938 kB / 0.6849 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.1462, allocations: 35.91 kB / 0.6849 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1463, allocations: 4 kB / 0.6849 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.1464, allocations: 32.19 kB / 0.6849 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.1464, allocations: 8 kB / 0.685 GB, free: 11.49 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.228e-05/0.1465, allocations: 126.4 kB / 0.6851 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.1465, allocations: 3.906 kB / 0.6851 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.1469, allocations: 121.8 kB / 0.6852 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1469, allocations: 3.938 kB / 0.6852 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1469, allocations: 0 / 0.6852 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1469, allocations: 0 / 0.6852 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.1471, allocations: 177.6 kB / 0.6854 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1471, allocations: 0 / 0.6854 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.308e-05/0.1472, allocations: 19.92 kB / 0.6854 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1472, allocations: 4 kB / 0.6854 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.1472, allocations: 0 / 0.6854 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1472, allocations: 7.875 kB / 0.6854 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1472, allocations: 0 / 0.6854 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.1476, allocations: 199.4 kB / 0.6856 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.1476, allocations: 89.02 kB / 0.6857 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.1476, allocations: 0 / 0.6857 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1477, allocations: 15.92 kB / 0.6857 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.1478, allocations: 4.312 kB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.1478, allocations: 8 kB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.209e-05/0.1479, allocations: 117.2 kB / 0.6858 GB, free: 10.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1479, allocations: 0 / 0.6858 GB, free: 10.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.1481, allocations: 20 kB / 0.6858 GB, free: 10.48 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 (3): * Single equations (assignments): 3 * 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.0006334/0.1488, allocations: 0.7396 MB / 0.6866 GB, free: 9.719 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003719/0.1491, allocations: 111.8 kB / 0.6867 GB, free: 9.609 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1492, allocations: 0 / 0.6867 GB, free: 9.609 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.1493, allocations: 31.97 kB / 0.6867 GB, free: 9.578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.1496, allocations: 8.562 kB / 0.6867 GB, free: 9.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/0.15, allocations: 207.6 kB / 0.6869 GB, free: 9.328 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.1503, allocations: 0.6963 MB / 0.6876 GB, free: 8.605 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.914e-05/0.1504, allocations: 28.41 kB / 0.6876 GB, free: 8.578 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.052e-05/0.1504, allocations: 19.44 kB / 0.6876 GB, free: 8.559 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1504, allocations: 0 / 0.6876 GB, free: 8.559 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2994/0.4499, allocations: 2.17 MB / 0.6897 GB, free: 6.465 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/8.211, allocations: 9.828 kB / 0.6897 GB, free: 6.457 MB / 494.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/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)