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.005425/0.005425, allocations: 106.5 kB / 15.74 MB, free: 5.578 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.001208/0.001208, allocations: 189.6 kB / 16.67 MB, free: 5.516 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.214/1.214, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7486/0.7486, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.00129, allocations: 56.84 kB / 0.5808 GB, free: 24.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1415, allocations: 80.21 MB / 0.6591 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.007628/0.1492, allocations: 4.336 MB / 0.6634 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003305/0.1525, allocations: 1.586 MB / 0.6649 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008537/0.1534, allocations: 31.81 kB / 0.665 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005709/0.154, allocations: 170.2 kB / 0.6651 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.1551, allocations: 241 kB / 0.6653 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.1567, allocations: 0.6689 MB / 0.666 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00155/0.1582, allocations: 1.226 MB / 0.6672 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008489/0.1591, allocations: 0.4923 MB / 0.6677 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007168/0.1598, allocations: 481.9 kB / 0.6681 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006537/0.1623, allocations: 461.4 kB / 0.6686 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002828/0.1626, allocations: 100 kB / 0.6687 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.1628, allocations: 108 kB / 0.6688 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.163, allocations: 239 kB / 0.669 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000502/0.1635, allocations: 489 kB / 0.6695 GB, free: 156 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.1647, allocations: 1.159 MB / 0.6706 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1647, allocations: 0 / 0.6706 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1647, allocations: 0 / 0.6706 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.583e-05/0.1648, allocations: 0 / 0.6706 GB, free: 14.99 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.002598/0.1674, allocations: 1.403 MB / 0.672 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1674, allocations: 8.031 kB / 0.672 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001509/0.1676, allocations: 114.7 kB / 0.6721 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.1678, allocations: 123.5 kB / 0.6722 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.1692, allocations: 0.7587 MB / 0.673 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.945e-05/0.1693, allocations: 84.27 kB / 0.673 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.1694, allocations: 68.38 kB / 0.6731 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.1706, allocations: 0.7327 MB / 0.6738 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.1706, allocations: 4 kB / 0.6738 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.1707, allocations: 28 kB / 0.6738 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.1707, allocations: 16 kB / 0.6739 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00098/0.1717, allocations: 0.5204 MB / 0.6744 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003129/0.1748, allocations: 2.247 MB / 0.6766 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.1767, allocations: 0.6215 MB / 0.6772 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007252/0.1775, allocations: 271.3 kB / 0.6774 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.124e-05/0.1775, allocations: 4.562 kB / 0.6774 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007905/0.1783, allocations: 323.1 kB / 0.6777 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 5.34e-06/0.1784, allocations: 0 / 0.6777 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.001541/0.1799, allocations: 0.7556 MB / 0.6785 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.18, allocations: 89.61 kB / 0.6786 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008322/0.1808, allocations: 0.7516 MB / 0.6793 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.1809, allocations: 45.64 kB / 0.6793 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.1812, allocations: 440.5 kB / 0.6798 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.1814, allocations: 205 kB / 0.68 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.1815, allocations: 106.3 kB / 0.6801 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.1816, allocations: 338 kB / 0.6804 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/0.182, allocations: 203.4 kB / 0.6806 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/0.1825, allocations: 312.4 kB / 0.6809 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008381/0.1834, allocations: 0.5035 MB / 0.6814 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1834, allocations: 4 kB / 0.6814 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001166/0.1845, allocations: 0.65 MB / 0.682 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1846, allocations: 9.812 kB / 0.682 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.1846, allocations: 4 kB / 0.682 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.1846, allocations: 4 kB / 0.682 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/0.1852, allocations: 147.8 kB / 0.6822 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.1853, allocations: 19.86 kB / 0.6822 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/0.1857, allocations: 59.42 kB / 0.6822 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.574e-05/0.1858, allocations: 23.98 kB / 0.6823 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008721/0.1866, allocations: 361.3 kB / 0.6826 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006504/0.1873, allocations: 288.5 kB / 0.6829 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001206/0.1885, allocations: 495.7 kB / 0.6833 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.417e-06/0.1886, allocations: 4 kB / 0.6834 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001662/0.1902, allocations: 0.6382 MB / 0.684 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1903, allocations: 8 kB / 0.684 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1903, allocations: 0 / 0.684 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1903, allocations: 4 kB / 0.684 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008412/0.1911, allocations: 139.8 kB / 0.6841 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.1912, allocations: 4 kB / 0.6841 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005989/0.1918, allocations: 67.69 kB / 0.6842 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.665e-05/0.1919, allocations: 20 kB / 0.6842 GB, free: 0.6133 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.0002635/0.1921, allocations: 212.1 kB / 0.6844 GB, free: 408 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/0.1923, allocations: 98.72 kB / 0.6845 GB, free: 308 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.1926, allocations: 101.2 kB / 0.6846 GB, free: 204 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.1927, allocations: 8 kB / 0.6846 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.1927, allocations: 11.92 kB / 0.6846 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1927, allocations: 0 / 0.6846 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/0.1949, allocations: 1.435 MB / 0.686 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.195, allocations: 3.938 kB / 0.686 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005341/0.1955, allocations: 107.9 kB / 0.6861 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1955, allocations: 0 / 0.6861 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/0.1956, allocations: 16 kB / 0.6861 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.1956, allocations: 4 kB / 0.6861 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1956, allocations: 3.938 kB / 0.6862 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.1973, allocations: 0.9556 MB / 0.6871 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/0.1976, allocations: 227.7 kB / 0.6873 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.207e-05/0.1977, allocations: 12 kB / 0.6873 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.1981, allocations: 35.97 kB / 0.6873 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.1982, allocations: 36.5 kB / 0.6874 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.1982, allocations: 16 kB / 0.6874 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006073/0.1988, allocations: 0.5146 MB / 0.6879 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1988, allocations: 0 / 0.6879 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00071/0.1995, allocations: 275.1 kB / 0.6882 GB, free: 12.46 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.001868/0.2014, allocations: 1.527 MB / 0.6897 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.203, allocations: 0.8003 MB / 0.6904 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.203, allocations: 0 / 0.6904 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004803/0.2035, allocations: 263.1 kB / 0.6907 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.2047, allocations: 263.9 kB / 0.6909 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008984/0.2137, allocations: 6.539 MB / 0.6973 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.2142, allocations: 0.9937 MB / 0.6983 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004829/0.2147, allocations: 118.8 kB / 0.6984 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004118/0.2151, allocations: 351.3 kB / 0.6987 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of SimCode: time 7.71e-07/0.2151, allocations: 3.938 kB / 0.6987 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04626/0.2614, allocations: 17.44 MB / 0.7158 GB, free: 192 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.639/8.9, allocations: 2.734 kB / 0.7158 GB, free: 192 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)