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.005829/0.005829, allocations: 99.66 kB / 15.73 MB, free: 5.551 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.001431/0.001431, allocations: 196.7 kB / 16.68 MB, free: 5.48 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002563/0.002563, allocations: 273.3 kB / 290.8 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9927/0.9927, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002618/0.002618, allocations: 103.8 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1688, allocations: 86.97 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.002605/0.1714, allocations: 1.492 MB / 0.7674 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003304/0.1718, allocations: 108.5 kB / 0.7675 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.1718, allocations: 0 / 0.7675 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.004e-05/0.1719, allocations: 7.922 kB / 0.7675 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.924e-05/0.1719, allocations: 7.938 kB / 0.7675 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.1721, allocations: 35.91 kB / 0.7675 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.69e-05/0.1722, allocations: 47.89 kB / 0.7676 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.092e-05/0.1723, allocations: 8 kB / 0.7676 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.731e-05/0.1724, allocations: 19.92 kB / 0.7676 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.772e-05/0.1724, allocations: 23.84 kB / 0.7676 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1725, allocations: 7.938 kB / 0.7676 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.106e-05/0.1726, allocations: 39.91 kB / 0.7677 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.207e-05/0.1726, allocations: 11.98 kB / 0.7677 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.445e-05/0.1726, allocations: 23.81 kB / 0.7677 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.1728, allocations: 83.92 kB / 0.7678 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1728, allocations: 4 kB / 0.7678 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1728, allocations: 0 / 0.7678 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.1728, allocations: 0 / 0.7678 GB, free: 7.023 MB / 0.5606 GB 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.0005588/0.1734, allocations: 375.2 kB / 0.7681 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1734, allocations: 12.03 kB / 0.7681 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.82e-05/0.1735, allocations: 34.75 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.1735, allocations: 12.88 kB / 0.7682 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.1737, allocations: 176.2 kB / 0.7684 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1737, allocations: 8.359 kB / 0.7684 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.1737, allocations: 4.375 kB / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.174, allocations: 110.1 kB / 0.7685 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.174, allocations: 3.938 kB / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.174, allocations: 0 / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.1741, allocations: 15.98 kB / 0.7685 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003496/0.1744, allocations: 123.8 kB / 0.7686 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.1749, allocations: 348.6 kB / 0.7689 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.1751, allocations: 58.53 kB / 0.769 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.1752, allocations: 40.92 kB / 0.769 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/0.1755, allocations: 121.1 kB / 0.7692 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.1756, allocations: 38.56 kB / 0.7692 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1756, allocations: 0 / 0.7692 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005266/0.1761, allocations: 133.5 kB / 0.7693 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.1762, allocations: 59.34 kB / 0.7694 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.1763, allocations: 147.7 kB / 0.7695 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1763, allocations: 29.69 kB / 0.7695 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.912e-05/0.1764, allocations: 120 kB / 0.7697 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.1764, allocations: 15.88 kB / 0.7697 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/0.1765, allocations: 29.67 kB / 0.7697 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1766, allocations: 322.8 kB / 0.77 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.1768, allocations: 47.95 kB / 0.7701 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.177, allocations: 119.7 kB / 0.7702 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.1774, allocations: 169.2 kB / 0.7703 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1774, allocations: 0 / 0.7703 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004128/0.1778, allocations: 181.3 kB / 0.7705 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1778, allocations: 8 kB / 0.7705 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1778, allocations: 4 kB / 0.7705 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1778, allocations: 7.938 kB / 0.7705 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.178, allocations: 36.28 kB / 0.7706 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.178, allocations: 15.88 kB / 0.7706 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.1782, allocations: 19.94 kB / 0.7706 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.1782, allocations: 8 kB / 0.7706 GB, free: 3.812 MB / 0.5606 GB 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 9.705e-05/0.1783, allocations: 126.4 kB / 0.7707 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.1783, allocations: 12.12 kB / 0.7707 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/0.1787, allocations: 121.8 kB / 0.7709 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1787, allocations: 3.938 kB / 0.7709 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1787, allocations: 3.984 kB / 0.7709 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.1787, allocations: 0 / 0.7709 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.1789, allocations: 173.7 kB / 0.771 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1789, allocations: 8 kB / 0.771 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.476e-05/0.179, allocations: 15.97 kB / 0.771 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.179, allocations: 0 / 0.771 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.1791, allocations: 4 kB / 0.7711 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1791, allocations: 3.938 kB / 0.7711 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1791, allocations: 0 / 0.7711 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.1794, allocations: 207.4 kB / 0.7713 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.1795, allocations: 81.06 kB / 0.7713 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.1795, allocations: 4 kB / 0.7713 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.1796, allocations: 11.92 kB / 0.7713 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.1797, allocations: 7.984 kB / 0.7714 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.1797, allocations: 0 / 0.7714 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.593e-05/0.1798, allocations: 111.2 kB / 0.7715 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1798, allocations: 4 kB / 0.7715 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003572/0.1801, allocations: 16 kB / 0.7715 GB, free: 2.812 MB / 0.5606 GB 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.000686/0.1808, allocations: 0.7358 MB / 0.7722 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003623/0.1812, allocations: 103.8 kB / 0.7723 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1812, allocations: 0 / 0.7723 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.1814, allocations: 48.52 kB / 0.7723 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1817, allocations: 14.53 kB / 0.7724 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005622/0.1823, allocations: 199.5 kB / 0.7725 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.1826, allocations: 0.6924 MB / 0.7732 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.79e-05/0.1827, allocations: 28.41 kB / 0.7732 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.1828, allocations: 23.44 kB / 0.7733 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.1828, allocations: 0 / 0.7733 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.599/1.782, allocations: 2.194 MB / 0.7754 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/14.74, allocations: 4.547 kB / 0.7754 GB, free: 14.37 MB / 0.5606 GB (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)