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.007505/0.007505, allocations: 95.42 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.001816/0.001816, allocations: 195.5 kB / 16.67 MB, free: 5.977 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8328/0.8328, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 66.66 kB / 0.5808 GB, free: 1.148 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1629, allocations: 80.2 MB / 0.6592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.005241/0.1682, allocations: 3.717 MB / 0.6628 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002649/0.1709, allocations: 1.325 MB / 0.6641 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004022/0.1713, allocations: 27.81 kB / 0.6641 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.1716, allocations: 130.6 kB / 0.6642 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005226/0.1722, allocations: 174.5 kB / 0.6644 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.1734, allocations: 0.5801 MB / 0.665 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.1746, allocations: 0.9603 MB / 0.6659 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005654/0.1752, allocations: 353.9 kB / 0.6662 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005028/0.1757, allocations: 358.4 kB / 0.6666 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004291/0.1762, allocations: 350.1 kB / 0.6669 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.1763, allocations: 80 kB / 0.667 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1764, allocations: 76 kB / 0.6671 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.1766, allocations: 183.2 kB / 0.6672 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003467/0.177, allocations: 381.7 kB / 0.6676 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.178, allocations: 0.8983 MB / 0.6685 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.178, allocations: 0 / 0.6685 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.508e-06/0.178, allocations: 0 / 0.6685 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.178, allocations: 3.938 kB / 0.6685 GB, free: 4.477 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.002204/0.1802, allocations: 1.206 MB / 0.6697 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1803, allocations: 16.03 kB / 0.6697 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.1804, allocations: 90.7 kB / 0.6698 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.1806, allocations: 100.3 kB / 0.6699 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.1817, allocations: 0.6188 MB / 0.6705 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.1819, allocations: 105 kB / 0.6706 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.85e-05/0.182, allocations: 52.38 kB / 0.6706 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.1831, allocations: 0.6079 MB / 0.6712 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.1832, allocations: 3.938 kB / 0.6712 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/0.1832, allocations: 20 kB / 0.6712 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.1832, allocations: 12 kB / 0.6712 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.1842, allocations: 423.6 kB / 0.6716 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002988/0.1872, allocations: 2.099 MB / 0.6737 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.1885, allocations: 0.5 MB / 0.6742 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004909/0.1891, allocations: 217.3 kB / 0.6744 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.445e-05/0.1891, allocations: 4 kB / 0.6744 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006991/0.1898, allocations: 291.1 kB / 0.6747 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 2.314e-06/0.1898, allocations: 0 / 0.6747 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.001549/0.1914, allocations: 0.6067 MB / 0.6753 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.1915, allocations: 100.8 kB / 0.6754 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007812/0.1923, allocations: 0.6138 MB / 0.676 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/0.1923, allocations: 33.7 kB / 0.676 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/0.1927, allocations: 361.2 kB / 0.6763 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.1928, allocations: 166.5 kB / 0.6765 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.193, allocations: 98.19 kB / 0.6766 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1932, allocations: 322 kB / 0.6769 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004771/0.1937, allocations: 191 kB / 0.6771 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/0.1942, allocations: 280.2 kB / 0.6773 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000999/0.1952, allocations: 477.9 kB / 0.6778 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.1952, allocations: 0 / 0.6778 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001322/0.1966, allocations: 0.6065 MB / 0.6784 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/0.1966, allocations: 29.7 kB / 0.6784 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.619e-06/0.1966, allocations: 4 kB / 0.6784 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.1967, allocations: 4 kB / 0.6784 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.1971, allocations: 103.9 kB / 0.6785 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.1972, allocations: 11.94 kB / 0.6785 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.1976, allocations: 59.64 kB / 0.6786 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.1976, allocations: 24.16 kB / 0.6786 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006137/0.1982, allocations: 309.8 kB / 0.6789 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000497/0.1988, allocations: 268.3 kB / 0.6792 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008926/0.1997, allocations: 449.9 kB / 0.6796 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.1997, allocations: 4 kB / 0.6796 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001195/0.2009, allocations: 0.5791 MB / 0.6802 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/0.2009, allocations: 33.7 kB / 0.6802 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2009, allocations: 320 / 0.6802 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.2009, allocations: 12 kB / 0.6802 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/0.2014, allocations: 103.8 kB / 0.6803 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2014, allocations: 4 kB / 0.6803 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.2018, allocations: 55.7 kB / 0.6804 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.2019, allocations: 19.94 kB / 0.6804 GB, free: 7.762 MB / 0.5137 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.0002171/0.2021, allocations: 220.7 kB / 0.6806 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.2022, allocations: 75.53 kB / 0.6807 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.2024, allocations: 83.2 kB / 0.6808 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.2024, allocations: 4 kB / 0.6808 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.2024, allocations: 0 / 0.6808 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2024, allocations: 4 kB / 0.6808 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007944/0.2032, allocations: 0.6258 MB / 0.6814 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2032, allocations: 0 / 0.6814 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/0.2037, allocations: 79.89 kB / 0.6814 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2037, allocations: 3.938 kB / 0.6814 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.2038, allocations: 19.98 kB / 0.6815 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2038, allocations: 0 / 0.6815 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2038, allocations: 4 kB / 0.6815 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.2054, allocations: 0.729 MB / 0.6822 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.2057, allocations: 200.5 kB / 0.6824 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.323e-05/0.2057, allocations: 11.94 kB / 0.6824 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.2061, allocations: 31.97 kB / 0.6824 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.739e-05/0.2062, allocations: 31.95 kB / 0.6824 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/0.2063, allocations: 19.98 kB / 0.6825 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005442/0.2068, allocations: 435 kB / 0.6829 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2069, allocations: 0 / 0.6829 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006181/0.2075, allocations: 215.5 kB / 0.6831 GB, free: 4.902 MB / 0.5137 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.001954/0.2094, allocations: 1.285 MB / 0.6843 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0017/0.2112, allocations: 0.7855 MB / 0.6851 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2112, allocations: 0 / 0.6851 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004899/0.2117, allocations: 219.6 kB / 0.6853 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009425/0.2126, allocations: 204.7 kB / 0.6855 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008393/0.221, allocations: 5.382 MB / 0.6908 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.2216, allocations: 0.9102 MB / 0.6917 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004102/0.2221, allocations: 93.12 kB / 0.6917 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003957/0.2225, allocations: 263.3 kB / 0.692 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of SimCode: time 4.038e-06/0.2225, allocations: 0 / 0.692 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04325/0.2657, allocations: 14.04 MB / 0.7057 GB, free: 13.72 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.101/9.367, allocations: 4.062 kB / 0.7057 GB, free: 13.72 MB / 0.545 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.Continuous.Examples.LimPID_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_Examples_LimPID.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)