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.007898/0.007898, allocations: 97.69 kB / 15.73 MB, free: 6.02 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.001957/0.001957, allocations: 190.6 kB / 16.67 MB, free: 5.938 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7791/0.7791, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 66.58 kB / 0.5808 GB, free: 24.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1376, allocations: 80.2 MB / 0.6592 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.0056/0.1432, allocations: 4.328 MB / 0.6634 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003327/0.1466, allocations: 1.586 MB / 0.6649 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006333/0.1473, allocations: 39.81 kB / 0.665 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.1477, allocations: 162.2 kB / 0.6651 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007231/0.1485, allocations: 234.1 kB / 0.6653 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.1498, allocations: 0.6725 MB / 0.666 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001461/0.1513, allocations: 1.218 MB / 0.6672 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007706/0.1521, allocations: 0.4965 MB / 0.6677 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006386/0.1527, allocations: 457.9 kB / 0.6681 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005284/0.1533, allocations: 469.4 kB / 0.6686 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.1534, allocations: 100 kB / 0.6687 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.1536, allocations: 104 kB / 0.6688 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.1538, allocations: 231 kB / 0.669 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004192/0.1542, allocations: 497 kB / 0.6695 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.1555, allocations: 1.163 MB / 0.6706 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1555, allocations: 4 kB / 0.6706 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1555, allocations: 0 / 0.6706 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.837e-05/0.1555, 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.002509/0.158, allocations: 1.433 MB / 0.672 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1581, allocations: 8.031 kB / 0.672 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001278/0.1582, allocations: 114.7 kB / 0.6721 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.1584, allocations: 128.1 kB / 0.6722 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.1597, allocations: 0.7712 MB / 0.673 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.603e-05/0.1598, allocations: 80.27 kB / 0.6731 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.16, allocations: 68.38 kB / 0.6731 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.1612, allocations: 0.7405 MB / 0.6738 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.1613, allocations: 0 / 0.6738 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/0.1613, allocations: 24 kB / 0.6739 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.1614, allocations: 20 kB / 0.6739 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.1625, allocations: 0.5204 MB / 0.6744 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003324/0.1658, allocations: 2.256 MB / 0.6766 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.1672, allocations: 0.6132 MB / 0.6772 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005288/0.1678, allocations: 279.3 kB / 0.6775 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.106e-05/0.1678, allocations: 8.562 kB / 0.6775 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006839/0.1685, allocations: 319 kB / 0.6778 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.705e-06/0.1685, allocations: 0 / 0.6778 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.001675/0.1702, allocations: 0.7601 MB / 0.6785 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.1703, allocations: 89.61 kB / 0.6786 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000926/0.1712, allocations: 0.7595 MB / 0.6793 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.1713, allocations: 37.7 kB / 0.6794 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/0.1717, allocations: 445 kB / 0.6798 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.1719, allocations: 218.1 kB / 0.68 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.172, allocations: 110.3 kB / 0.6801 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1722, allocations: 334 kB / 0.6804 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004749/0.1727, allocations: 207.4 kB / 0.6806 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/0.1732, allocations: 308.4 kB / 0.6809 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009864/0.1742, allocations: 0.5036 MB / 0.6814 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1742, allocations: 0 / 0.6814 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0013/0.1755, allocations: 0.6545 MB / 0.6821 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1756, allocations: 4 kB / 0.6821 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1756, allocations: 4 kB / 0.6821 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.1756, allocations: 4 kB / 0.6821 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006587/0.1763, allocations: 156 kB / 0.6822 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.1763, allocations: 15.86 kB / 0.6822 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004371/0.1767, allocations: 63.56 kB / 0.6823 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.1768, allocations: 23.98 kB / 0.6823 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006349/0.1774, allocations: 357.3 kB / 0.6827 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004799/0.1779, allocations: 292.5 kB / 0.6829 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000905/0.1788, allocations: 0.4919 MB / 0.6834 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.1789, allocations: 0 / 0.6834 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001196/0.1801, allocations: 0.639 MB / 0.684 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1801, allocations: 8 kB / 0.6841 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1801, allocations: 0 / 0.6841 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1801, allocations: 8 kB / 0.6841 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005935/0.1807, allocations: 135.8 kB / 0.6842 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.1807, allocations: 8 kB / 0.6842 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/0.1811, allocations: 59.58 kB / 0.6843 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.1812, allocations: 23.98 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.0002001/0.1814, allocations: 217.7 kB / 0.6845 GB, free: 368 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.1815, allocations: 95.39 kB / 0.6846 GB, free: 272 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.1818, allocations: 101.2 kB / 0.6847 GB, free: 168 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.1818, allocations: 15.92 kB / 0.6847 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.1818, allocations: 3.938 kB / 0.6847 GB, free: 148 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.1818, allocations: 0 / 0.6847 GB, free: 148 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.184, allocations: 1.443 MB / 0.6861 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.1841, allocations: 3.75 kB / 0.6861 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/0.1846, allocations: 103.9 kB / 0.6862 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.1846, allocations: 4 kB / 0.6862 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/0.1847, allocations: 12 kB / 0.6862 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.1847, allocations: 15.94 kB / 0.6862 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1847, allocations: 0 / 0.6862 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.1865, allocations: 0.9678 MB / 0.6872 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.1868, allocations: 224.3 kB / 0.6874 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.909e-05/0.1868, allocations: 12 kB / 0.6874 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004282/0.1873, allocations: 31.97 kB / 0.6874 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.92e-05/0.1874, allocations: 36.5 kB / 0.6875 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.1874, allocations: 16 kB / 0.6875 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006573/0.1881, allocations: 0.5224 MB / 0.688 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1881, allocations: 0 / 0.688 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007095/0.1888, allocations: 279.3 kB / 0.6883 GB, free: 12.4 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.002061/0.1909, allocations: 1.527 MB / 0.6898 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.1926, allocations: 0.7992 MB / 0.6905 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1927, allocations: 1 kB / 0.6905 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005233/0.1932, allocations: 267.1 kB / 0.6908 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.1945, allocations: 259.3 kB / 0.691 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.2049, allocations: 6.575 MB / 0.6975 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006365/0.2055, allocations: 0.9937 MB / 0.6984 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005275/0.2061, allocations: 122.7 kB / 0.6985 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/0.2066, allocations: 351.3 kB / 0.6989 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of SimCode: time 9.32e-07/0.2066, allocations: 4 kB / 0.6989 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04649/0.2531, allocations: 17.43 MB / 0.7159 GB, free: 96 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.487/9.741, allocations: 13.12 kB / 0.7159 GB, free: 84 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_Continuous_Validation_LimPIDReset.fmu > IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)