Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Math.Examples.Bicubic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Bicubic,fileNamePrefix="IDEAS_dev_IDEAS_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.001165/0.001164, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00132/0.00132, allocations: 193.2 kB / 16.25 MB, free: 6.633 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.339/1.339, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9427/0.9427, allocations: 135.1 MB / 425.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 64.59 kB / 0.505 GB, free: 5.531 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1548, allocations: 80.93 MB / 0.584 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Bicubic): time 0.002907/0.1577, allocations: 1.535 MB / 0.5855 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003536/0.1581, allocations: 120.4 kB / 0.5856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.841e-05/0.1582, allocations: 4 kB / 0.5856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.731e-05/0.1583, allocations: 0 / 0.5856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.065e-05/0.1584, allocations: 7.922 kB / 0.5856 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.1587, allocations: 23.97 kB / 0.5856 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.1588, allocations: 47.86 kB / 0.5857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1589, allocations: 8 kB / 0.5857 GB, free: 3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.438e-05/0.159, allocations: 23.91 kB / 0.5857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.367e-05/0.159, allocations: 23.91 kB / 0.5857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.159, allocations: 4 kB / 0.5857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.729e-05/0.1591, allocations: 35.97 kB / 0.5858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.1592, allocations: 15.92 kB / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.1593, allocations: 19.88 kB / 0.5858 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.1594, allocations: 71.77 kB / 0.5859 GB, free: 2.809 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.1595, allocations: 4 kB / 0.5859 GB, free: 2.805 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1595, allocations: 3.938 kB / 0.5859 GB, free: 2.801 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.1595, allocations: 4 kB / 0.5859 GB, free: 2.797 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.000598/0.1601, allocations: 391.4 kB / 0.5863 GB, free: 2.363 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.1601, allocations: 8.031 kB / 0.5863 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.148e-05/0.1602, allocations: 34.75 kB / 0.5863 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.1602, allocations: 12.83 kB / 0.5863 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.1604, allocations: 176.3 kB / 0.5865 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1604, allocations: 4.375 kB / 0.5865 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.1604, allocations: 384 / 0.5865 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.1607, allocations: 117.2 kB / 0.5866 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1607, allocations: 7.875 kB / 0.5866 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1607, allocations: 0 / 0.5866 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/0.1608, allocations: 11.98 kB / 0.5866 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.1611, allocations: 123.9 kB / 0.5867 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.1616, allocations: 344.7 kB / 0.5871 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1618, allocations: 54.53 kB / 0.5871 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.1619, allocations: 44.86 kB / 0.5872 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/0.1622, allocations: 129.2 kB / 0.5873 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.1622, allocations: 30.56 kB / 0.5873 GB, free: 1.148 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.1622, allocations: 0 / 0.5873 GB, free: 1.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005137/0.1628, allocations: 137.5 kB / 0.5874 GB, free: 1.008 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.1628, allocations: 59.34 kB / 0.5875 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.1629, allocations: 147.9 kB / 0.5876 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.1629, allocations: 29.7 kB / 0.5877 GB, free: 0.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.163, allocations: 115.6 kB / 0.5878 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.154e-05/0.163, allocations: 7.906 kB / 0.5878 GB, free: 0.625 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.1631, allocations: 33.62 kB / 0.5878 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.1632, allocations: 318.8 kB / 0.5881 GB, free: 272 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.1633, allocations: 51.95 kB / 0.5882 GB, free: 220 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.1636, allocations: 117.4 kB / 0.5883 GB, free: 68 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.1639, allocations: 161.2 kB / 0.5884 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1639, allocations: 7.938 kB / 0.5885 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004183/0.1644, allocations: 177.2 kB / 0.5886 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1644, allocations: 8 kB / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1644, allocations: 0 / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1644, allocations: 7.938 kB / 0.5886 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.1646, allocations: 44.22 kB / 0.5887 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1646, allocations: 0 / 0.5887 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.1647, allocations: 27.83 kB / 0.5887 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.1647, allocations: 8 kB / 0.5887 GB, free: 15.59 MB / 0.4981 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.793e-05/0.1648, allocations: 129.7 kB / 0.5888 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.1649, allocations: 8 kB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003645/0.1653, allocations: 117.8 kB / 0.589 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1653, allocations: 7.922 kB / 0.589 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1653, allocations: 3.938 kB / 0.589 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1653, allocations: 0 / 0.589 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.1655, allocations: 177.7 kB / 0.5891 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1655, allocations: 3.984 kB / 0.5891 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.6e-05/0.1656, allocations: 15.98 kB / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1656, allocations: 0 / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.1656, allocations: 0 / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1656, allocations: 7.938 kB / 0.5892 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1656, allocations: 3.938 kB / 0.5892 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.1659, allocations: 199.5 kB / 0.5894 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.166, allocations: 81.02 kB / 0.5894 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.166, allocations: 0 / 0.5894 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1661, allocations: 15.92 kB / 0.5894 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.1662, allocations: 7.984 kB / 0.5895 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1662, allocations: 4 kB / 0.5895 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.022e-05/0.1662, allocations: 109.5 kB / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1663, allocations: 0 / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000257/0.1665, allocations: 19.91 kB / 0.5896 GB, free: 14.59 MB / 0.4981 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.0006289/0.1671, allocations: 0.74 MB / 0.5903 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.1675, allocations: 107.8 kB / 0.5904 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1675, allocations: 0 / 0.5904 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.1677, allocations: 40.58 kB / 0.5904 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.168, allocations: 15.88 kB / 0.5905 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.1685, allocations: 227.4 kB / 0.5907 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.1687, allocations: 0.6931 MB / 0.5914 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.492e-05/0.1688, allocations: 24.41 kB / 0.5914 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.1689, allocations: 23.44 kB / 0.5914 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1689, allocations: 0 / 0.5914 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4421/0.611, allocations: 1.953 MB / 0.5933 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003432/0.6114, allocations: 181.7 kB / 0.5935 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/3.138, allocations: 7.938 kB / 0.5935 GB, free: 10.54 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Bicubic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Bicubic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Bicubic.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Bicubic.pipe 2>&1)