Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Validation_LimPIDReset",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.005535/0.005535, allocations: 100.1 kB / 15.73 MB, free: 6.023 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.001282/0.001282, allocations: 195.8 kB / 16.67 MB, free: 5.934 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7871/0.7871, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 73.25 kB / 0.5808 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1545, allocations: 80.21 MB / 0.6592 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.005627/0.1602, allocations: 4.335 MB / 0.6634 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002989/0.1632, allocations: 1.585 MB / 0.6649 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004082/0.1636, allocations: 35.81 kB / 0.665 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.1641, allocations: 170.2 kB / 0.6651 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000616/0.1647, allocations: 226.1 kB / 0.6654 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.166, allocations: 0.6746 MB / 0.666 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.1672, allocations: 1.226 MB / 0.6672 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006876/0.1679, allocations: 0.4887 MB / 0.6677 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005335/0.1684, allocations: 461.9 kB / 0.6681 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004735/0.1689, allocations: 461.5 kB / 0.6686 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.169, allocations: 104 kB / 0.6687 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.1692, allocations: 100 kB / 0.6688 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.1694, allocations: 239 kB / 0.669 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003818/0.1698, allocations: 489 kB / 0.6695 GB, free: 212 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.1709, allocations: 1.163 MB / 0.6706 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1709, allocations: 4 kB / 0.6706 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1709, allocations: 0 / 0.6706 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.171, allocations: 0 / 0.6706 GB, free: 15.04 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002338/0.1733, allocations: 1.429 MB / 0.672 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1734, allocations: 12.03 kB / 0.672 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001234/0.1735, allocations: 114.6 kB / 0.6721 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.1737, allocations: 128.1 kB / 0.6722 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.1749, allocations: 0.7713 MB / 0.673 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.516e-05/0.175, allocations: 76.27 kB / 0.6731 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.647e-05/0.1751, allocations: 76.36 kB / 0.6731 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.1764, allocations: 0.7366 MB / 0.6738 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.1764, allocations: 0 / 0.6738 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.1765, allocations: 32 kB / 0.6739 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.1765, allocations: 16 kB / 0.6739 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.1776, allocations: 0.5165 MB / 0.6744 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/0.1809, allocations: 2.26 MB / 0.6766 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.1823, allocations: 0.6133 MB / 0.6772 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005191/0.1828, allocations: 271.3 kB / 0.6775 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.568e-05/0.1829, allocations: 20.48 kB / 0.6775 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006558/0.1835, allocations: 319 kB / 0.6778 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 1.994e-06/0.1835, allocations: 0 / 0.6778 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.001636/0.1852, allocations: 0.7523 MB / 0.6785 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.1853, allocations: 89.61 kB / 0.6786 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000879/0.1861, allocations: 0.7595 MB / 0.6793 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.1862, allocations: 41.7 kB / 0.6794 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.1866, allocations: 444.9 kB / 0.6798 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.1867, allocations: 218.1 kB / 0.68 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.1869, allocations: 114.3 kB / 0.6801 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1871, allocations: 326 kB / 0.6804 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/0.1875, allocations: 211.4 kB / 0.6806 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005229/0.1881, allocations: 300.4 kB / 0.6809 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009777/0.1891, allocations: 0.5075 MB / 0.6814 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1891, allocations: 0 / 0.6814 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001223/0.1903, allocations: 0.6584 MB / 0.6821 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1903, allocations: 9.719 kB / 0.6821 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1903, allocations: 0 / 0.6821 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.1904, allocations: 4 kB / 0.6821 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006375/0.191, allocations: 152 kB / 0.6822 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.191, allocations: 7.938 kB / 0.6822 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/0.1914, allocations: 71.55 kB / 0.6823 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.1915, allocations: 20 kB / 0.6823 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006545/0.1921, allocations: 353.3 kB / 0.6827 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000517/0.1927, allocations: 296.5 kB / 0.6829 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009355/0.1936, allocations: 0.4918 MB / 0.6834 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.1936, allocations: 0 / 0.6834 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001171/0.1948, allocations: 0.6349 MB / 0.684 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1948, allocations: 8.25 kB / 0.684 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1948, allocations: 4 kB / 0.6841 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/0.1948, allocations: 4 kB / 0.6841 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005806/0.1954, allocations: 139.8 kB / 0.6842 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1954, allocations: 4 kB / 0.6842 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/0.1958, allocations: 63.58 kB / 0.6843 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/0.1959, allocations: 24 kB / 0.6843 GB, free: 0.5781 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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 0.0002006/0.1961, allocations: 216.1 kB / 0.6845 GB, free: 368 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.1962, allocations: 103.4 kB / 0.6846 GB, free: 264 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.1965, allocations: 109.1 kB / 0.6847 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1965, allocations: 7.938 kB / 0.6847 GB, free: 144 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.1965, allocations: 3.938 kB / 0.6847 GB, free: 140 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.1965, allocations: 0 / 0.6847 GB, free: 140 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.1988, allocations: 1.439 MB / 0.6861 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.1988, allocations: 7.938 kB / 0.6861 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005481/0.1993, allocations: 103.8 kB / 0.6862 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.1994, allocations: 4 kB / 0.6862 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-05/0.1994, allocations: 12 kB / 0.6862 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.1994, allocations: 4 kB / 0.6862 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1994, allocations: 0 / 0.6862 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.2012, allocations: 0.9717 MB / 0.6872 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/0.2015, allocations: 224.3 kB / 0.6874 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.299e-05/0.2016, allocations: 8 kB / 0.6874 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.202, allocations: 35.95 kB / 0.6874 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/0.2021, allocations: 32.52 kB / 0.6875 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.13e-05/0.2021, allocations: 23.92 kB / 0.6875 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006634/0.2028, allocations: 0.5185 MB / 0.688 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2028, allocations: 4 kB / 0.688 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007031/0.2035, allocations: 279.3 kB / 0.6883 GB, free: 12.39 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002139/0.2057, allocations: 1.527 MB / 0.6898 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001701/0.2074, allocations: 0.7917 MB / 0.6905 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2074, allocations: 0 / 0.6905 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005298/0.2079, allocations: 271.8 kB / 0.6908 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.2091, allocations: 264.5 kB / 0.691 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009417/0.2185, allocations: 6.563 MB / 0.6974 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/0.2191, allocations: 0.9937 MB / 0.6984 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000481/0.2196, allocations: 114.7 kB / 0.6985 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004573/0.2201, allocations: 351.3 kB / 0.6989 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of SimCode: time 5.62e-07/0.2201, allocations: 0 / 0.6989 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04555/0.2656, allocations: 17.45 MB / 0.7159 GB, free: 88 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.195/9.461, allocations: 8 kB / 0.7159 GB, free: 80 kB / 0.545 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Validation_LimPIDReset.fmu > IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)