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.005044/0.005044, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001165/0.001165, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7686/0.7686, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 62.77 kB / 0.5808 GB, free: 24.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1391, allocations: 80.21 MB / 0.6592 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.004819/0.1439, allocations: 4.335 MB / 0.6634 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002662/0.1466, allocations: 1.585 MB / 0.6649 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003704/0.147, allocations: 35.81 kB / 0.665 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.1474, allocations: 166.2 kB / 0.6651 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005806/0.148, allocations: 242.1 kB / 0.6654 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.1491, allocations: 0.6631 MB / 0.666 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001/0.1501, allocations: 1.222 MB / 0.6672 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006286/0.1508, allocations: 0.5001 MB / 0.6677 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004624/0.1512, allocations: 473.9 kB / 0.6681 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003869/0.1516, allocations: 461.4 kB / 0.6686 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.1518, allocations: 104 kB / 0.6687 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1519, allocations: 100 kB / 0.6688 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.152, allocations: 243.1 kB / 0.669 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.1524, allocations: 489 kB / 0.6695 GB, free: 304 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009533/0.1533, allocations: 1.159 MB / 0.6706 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1533, allocations: 3.938 kB / 0.6706 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.785e-06/0.1533, allocations: 0 / 0.6706 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.1534, allocations: 3.938 kB / 0.6706 GB, free: 15.12 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.002147/0.1555, allocations: 1.433 MB / 0.672 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1556, allocations: 12.03 kB / 0.672 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.1557, allocations: 110.7 kB / 0.6721 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.1558, allocations: 128.1 kB / 0.6723 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.157, allocations: 0.7712 MB / 0.673 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.192e-05/0.1571, allocations: 80.27 kB / 0.6731 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.405e-05/0.1572, allocations: 72.38 kB / 0.6732 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.1584, allocations: 0.7327 MB / 0.6739 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.1584, allocations: 0 / 0.6739 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-05/0.1585, allocations: 32 kB / 0.6739 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.1585, allocations: 16 kB / 0.6739 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.1595, allocations: 0.5203 MB / 0.6744 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002867/0.1624, allocations: 2.256 MB / 0.6766 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.1637, allocations: 0.6264 MB / 0.6772 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004743/0.1642, allocations: 271.3 kB / 0.6775 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/0.1642, allocations: 8.562 kB / 0.6775 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000604/0.1648, allocations: 319.1 kB / 0.6778 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 1.954e-06/0.1648, allocations: 0 / 0.6778 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.001487/0.1663, allocations: 0.7679 MB / 0.6786 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.1664, allocations: 85.61 kB / 0.6786 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007622/0.1672, allocations: 0.7556 MB / 0.6794 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.1672, allocations: 37.7 kB / 0.6794 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/0.1675, allocations: 445 kB / 0.6798 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.1677, allocations: 218.1 kB / 0.68 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.1678, allocations: 110.3 kB / 0.6802 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1679, allocations: 330 kB / 0.6805 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.1684, allocations: 215.3 kB / 0.6807 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/0.1688, allocations: 308.4 kB / 0.681 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008888/0.1697, allocations: 0.4958 MB / 0.6815 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1698, allocations: 4 kB / 0.6815 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001104/0.1709, allocations: 0.6545 MB / 0.6821 GB, free: 3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.1709, allocations: 9.875 kB / 0.6821 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1709, allocations: 8.25 kB / 0.6821 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1709, allocations: 8 kB / 0.6821 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005955/0.1715, allocations: 139.8 kB / 0.6823 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.1716, allocations: 11.92 kB / 0.6823 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00039/0.172, allocations: 71.56 kB / 0.6823 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.172, allocations: 27.92 kB / 0.6824 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005491/0.1726, allocations: 357.3 kB / 0.6827 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004203/0.173, allocations: 292.5 kB / 0.683 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008065/0.1738, allocations: 491.7 kB / 0.6834 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.1738, allocations: 0 / 0.6834 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001009/0.1748, allocations: 0.6389 MB / 0.6841 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.1748, allocations: 4 kB / 0.6841 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1749, allocations: 7.938 kB / 0.6841 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/0.1749, allocations: 4 kB / 0.6841 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005565/0.1754, allocations: 143.8 kB / 0.6842 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1754, allocations: 4 kB / 0.6842 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.1758, allocations: 63.77 kB / 0.6843 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.1759, allocations: 20 kB / 0.6843 GB, free: 0.6641 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.0001571/0.176, allocations: 216.1 kB / 0.6845 GB, free: 456 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.1761, allocations: 99.42 kB / 0.6846 GB, free: 356 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.1763, allocations: 105.2 kB / 0.6847 GB, free: 248 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1763, allocations: 4 kB / 0.6847 GB, free: 244 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.1763, allocations: 3.938 kB / 0.6847 GB, free: 240 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.1763, allocations: 7.984 kB / 0.6847 GB, free: 232 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/0.1783, allocations: 1.439 MB / 0.6861 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1783, allocations: 7.922 kB / 0.6861 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/0.1788, allocations: 99.89 kB / 0.6862 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.1788, allocations: 7.984 kB / 0.6862 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.1788, allocations: 12 kB / 0.6863 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1789, allocations: 0 / 0.6863 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1789, allocations: 0 / 0.6863 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.1804, allocations: 0.9795 MB / 0.6872 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/0.1806, allocations: 224.3 kB / 0.6874 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.605e-05/0.1807, allocations: 16 kB / 0.6874 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.1811, allocations: 27.97 kB / 0.6875 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/0.1812, allocations: 44.5 kB / 0.6875 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.1813, allocations: 16 kB / 0.6875 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005546/0.1818, allocations: 0.5146 MB / 0.688 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1818, allocations: 0 / 0.688 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006398/0.1825, allocations: 275.3 kB / 0.6883 GB, free: 12.49 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.001777/0.1843, allocations: 1.527 MB / 0.6898 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.1858, allocations: 0.7924 MB / 0.6906 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1858, allocations: 4.125 kB / 0.6906 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004601/0.1862, allocations: 271.1 kB / 0.6908 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.1873, allocations: 265.8 kB / 0.6911 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008157/0.1955, allocations: 6.559 MB / 0.6975 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.196, allocations: 0.9977 MB / 0.6984 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004481/0.1964, allocations: 118.8 kB / 0.6986 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004168/0.1969, allocations: 347.3 kB / 0.6989 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of SimCode: time 6.11e-07/0.1969, allocations: 4 kB / 0.6989 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03765/0.2345, allocations: 17.44 MB / 0.7159 GB, free: 188 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.755/8.99, allocations: 9.672 kB / 0.7159 GB, free: 184 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)