Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Controls.Continuous.Examples.LimPID,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPID,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPID",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.001403/0.001403, 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.001363/0.001363, allocations: 190.1 kB / 16.25 MB, free: 6.629 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.285/1.285, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6994/0.6994, allocations: 132.2 MB / 422.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.5 kB / 0.5013 GB, free: 8.992 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1601, allocations: 80.21 MB / 0.5797 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.004648/0.1648, allocations: 3.715 MB / 0.5833 GB, free: 5.266 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.1672, allocations: 1.289 MB / 0.5846 GB, free: 3.969 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000484/0.1677, allocations: 27.81 kB / 0.5846 GB, free: 3.941 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003421/0.1681, allocations: 91.16 kB / 0.5847 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005426/0.1687, allocations: 139 kB / 0.5848 GB, free: 3.715 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.1698, allocations: 0.5301 MB / 0.5853 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009734/0.1708, allocations: 0.9799 MB / 0.5863 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004992/0.1713, allocations: 341.6 kB / 0.5866 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004081/0.1717, allocations: 374.2 kB / 0.587 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003205/0.172, allocations: 354.1 kB / 0.5873 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.902e-05/0.1721, allocations: 80 kB / 0.5874 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.866e-05/0.1722, allocations: 80 kB / 0.5875 GB, free: 1 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.1724, allocations: 175.3 kB / 0.5876 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002676/0.1726, allocations: 381.7 kB / 0.588 GB, free: 464 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007238/0.1734, allocations: 0.8489 MB / 0.5888 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1734, allocations: 0 / 0.5888 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.853e-06/0.1734, allocations: 0 / 0.5888 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.1734, allocations: 0 / 0.5888 GB, free: 15.6 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00195/0.1754, allocations: 1.187 MB / 0.59 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.1754, allocations: 12.03 kB / 0.59 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.717e-05/0.1755, allocations: 90.7 kB / 0.5901 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.1757, allocations: 91.81 kB / 0.5902 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008391/0.1765, allocations: 0.5909 MB / 0.5907 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.1766, allocations: 105 kB / 0.5908 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.488e-05/0.1767, allocations: 52.38 kB / 0.5909 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.1778, allocations: 0.604 MB / 0.5915 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.1778, allocations: 7.938 kB / 0.5915 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/0.1779, allocations: 20 kB / 0.5915 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.1779, allocations: 15.94 kB / 0.5915 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009021/0.1788, allocations: 427.6 kB / 0.5919 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002624/0.1814, allocations: 2.106 MB / 0.594 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.1826, allocations: 0.4997 MB / 0.5945 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/0.183, allocations: 216.8 kB / 0.5947 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.006e-05/0.1831, allocations: 4 kB / 0.5947 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007003/0.1838, allocations: 295 kB / 0.595 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 3.176e-06/0.1838, allocations: 0 / 0.595 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.00141/0.1852, allocations: 0.6062 MB / 0.5956 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.1853, allocations: 88.86 kB / 0.5956 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006629/0.186, allocations: 0.6099 MB / 0.5962 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.186, allocations: 41.64 kB / 0.5963 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.1863, allocations: 352.9 kB / 0.5966 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.1864, allocations: 157.8 kB / 0.5968 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.1866, allocations: 94.14 kB / 0.5969 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1867, allocations: 326 kB / 0.5972 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.1871, allocations: 187 kB / 0.5973 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/0.1876, allocations: 280.2 kB / 0.5976 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008566/0.1885, allocations: 481.8 kB / 0.5981 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1885, allocations: 0 / 0.5981 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001154/0.1896, allocations: 0.6032 MB / 0.5987 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.1897, allocations: 33.7 kB / 0.5987 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1897, allocations: 4 kB / 0.5987 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.1897, allocations: 4 kB / 0.5987 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.1902, allocations: 103.9 kB / 0.5988 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.1902, allocations: 11.94 kB / 0.5988 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.1906, allocations: 63.75 kB / 0.5989 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.1907, allocations: 20 kB / 0.5989 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005503/0.1912, allocations: 305.8 kB / 0.5992 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004389/0.1917, allocations: 272.2 kB / 0.5994 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007638/0.1924, allocations: 457.8 kB / 0.5999 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.426e-06/0.1925, allocations: 8 kB / 0.5999 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001032/0.1935, allocations: 0.567 MB / 0.6004 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.1935, allocations: 38.02 kB / 0.6005 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.1935, allocations: 4 kB / 0.6005 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-06/0.1936, allocations: 4 kB / 0.6005 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/0.194, allocations: 107.8 kB / 0.6006 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.194, allocations: 4 kB / 0.6006 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.1944, allocations: 55.56 kB / 0.6006 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.1944, allocations: 16 kB / 0.6007 GB, free: 2.945 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: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001961/0.1946, allocations: 226.8 kB / 0.6009 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.59e-05/0.1947, allocations: 75.06 kB / 0.6009 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/0.1949, allocations: 83.2 kB / 0.601 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1949, allocations: 4 kB / 0.601 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1949, allocations: 0 / 0.601 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1949, allocations: 0 / 0.601 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006392/0.1956, allocations: 0.618 MB / 0.6016 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1956, allocations: 0 / 0.6016 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/0.196, allocations: 83.89 kB / 0.6017 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.196, allocations: 4 kB / 0.6017 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.1961, allocations: 15.98 kB / 0.6017 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1961, allocations: 3.938 kB / 0.6017 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1961, allocations: 0 / 0.6017 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.1975, allocations: 0.7363 MB / 0.6025 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.1977, allocations: 188.1 kB / 0.6026 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.688e-05/0.1978, allocations: 12.12 kB / 0.6026 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.1982, allocations: 31.97 kB / 0.6027 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.1983, allocations: 35.95 kB / 0.6027 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.1983, allocations: 15.98 kB / 0.6027 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000466/0.1988, allocations: 435 kB / 0.6031 GB, free: 320 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1988, allocations: 0 / 0.6031 GB, free: 320 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005812/0.1994, allocations: 215.3 kB / 0.6033 GB, free: 104 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.2674/0.4668, allocations: 1.28 MB / 0.6046 GB, free: 55.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001491/0.4683, allocations: 0.8095 MB / 0.6054 GB, free: 55.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4683, allocations: 0.5 kB / 0.6054 GB, free: 55.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.4687, allocations: 211.3 kB / 0.6056 GB, free: 55.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008735/0.4696, allocations: 201.4 kB / 0.6058 GB, free: 55.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006585/0.4762, allocations: 5.854 MB / 0.6115 GB, free: 52.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.4765, allocations: 0.9146 MB / 0.6124 GB, free: 51.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003877/0.4769, allocations: 97.78 kB / 0.6125 GB, free: 51.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.4771, allocations: 254.8 kB / 0.6127 GB, free: 51.14 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.4772, allocations: 0 / 0.6127 GB, free: 51.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.116/2.594, allocations: 13.69 MB / 0.6261 GB, free: 50.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/2.594, allocations: 175.9 kB / 0.6263 GB, free: 49.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.222/4.816, allocations: 0 / 0.6263 GB, free: 49.98 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_LimPID.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)