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.004608/0.004608, allocations: 100 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.001028/0.001028, allocations: 187.7 kB / 16.67 MB, free: 5.961 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.236/1.236, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.721/0.721, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 67.25 kB / 0.5808 GB, free: 1.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.147, allocations: 80.21 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.004711/0.1518, allocations: 4.31 MB / 0.6634 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00289/0.1547, allocations: 1.597 MB / 0.6649 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005328/0.1553, allocations: 31.88 kB / 0.665 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.1557, allocations: 170.2 kB / 0.6651 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005933/0.1563, allocations: 228.2 kB / 0.6653 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.1575, allocations: 0.6758 MB / 0.666 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001027/0.1585, allocations: 1.218 MB / 0.6672 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006432/0.1592, allocations: 0.5001 MB / 0.6677 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005117/0.1597, allocations: 481.9 kB / 0.6681 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004186/0.1601, allocations: 457.4 kB / 0.6686 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.1603, allocations: 104 kB / 0.6687 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.1604, allocations: 104 kB / 0.6688 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.1606, allocations: 231.1 kB / 0.669 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003308/0.161, allocations: 493 kB / 0.6695 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009535/0.1619, allocations: 1.155 MB / 0.6706 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1619, allocations: 8 kB / 0.6706 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1619, allocations: 0 / 0.6706 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.162, allocations: 0 / 0.6706 GB, free: 2.273 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002094/0.1641, allocations: 1.399 MB / 0.672 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1641, allocations: 8.031 kB / 0.672 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.1642, allocations: 118.7 kB / 0.6721 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.1644, allocations: 123.4 kB / 0.6722 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.1656, allocations: 0.7626 MB / 0.673 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.427e-05/0.1657, allocations: 84.27 kB / 0.673 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.059e-05/0.1658, allocations: 68.38 kB / 0.6731 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.1669, allocations: 0.7327 MB / 0.6738 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1669, allocations: 0 / 0.6738 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.887e-05/0.167, allocations: 28 kB / 0.6738 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.167, allocations: 16 kB / 0.6739 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009464/0.1679, allocations: 0.5204 MB / 0.6744 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002877/0.1708, allocations: 2.251 MB / 0.6766 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.1721, allocations: 0.6115 MB / 0.6772 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/0.1725, allocations: 280 kB / 0.6774 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.532e-05/0.1726, allocations: 4.562 kB / 0.6774 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005866/0.1732, allocations: 319.1 kB / 0.6777 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.154e-06/0.1732, allocations: 0 / 0.6777 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.001437/0.1746, allocations: 0.7556 MB / 0.6785 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.1747, allocations: 85.61 kB / 0.6786 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007876/0.1755, allocations: 0.7556 MB / 0.6793 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.1756, allocations: 41.69 kB / 0.6793 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.1759, allocations: 436.5 kB / 0.6797 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.176, allocations: 212.9 kB / 0.68 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.1762, allocations: 106.3 kB / 0.6801 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.722e-05/0.1763, allocations: 330 kB / 0.6804 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/0.1767, allocations: 215.3 kB / 0.6806 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/0.1772, allocations: 296.5 kB / 0.6809 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000847/0.178, allocations: 0.5152 MB / 0.6814 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.178, allocations: 0 / 0.6814 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001073/0.1791, allocations: 0.6539 MB / 0.682 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1791, allocations: 8 kB / 0.682 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1791, allocations: 4 kB / 0.682 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1792, allocations: 4 kB / 0.682 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.1798, allocations: 144 kB / 0.6821 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.1798, allocations: 7.938 kB / 0.6822 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.1802, allocations: 75.34 kB / 0.6822 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.1802, allocations: 20 kB / 0.6822 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005314/0.1808, allocations: 357.4 kB / 0.6826 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004073/0.1812, allocations: 296.4 kB / 0.6829 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007677/0.182, allocations: 491.7 kB / 0.6833 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.182, allocations: 4 kB / 0.6833 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009814/0.183, allocations: 0.6268 MB / 0.684 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.183, allocations: 8.031 kB / 0.684 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.183, allocations: 4 kB / 0.684 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.941e-06/0.183, allocations: 4 kB / 0.684 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/0.1836, allocations: 143.8 kB / 0.6841 GB, free: 4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1836, allocations: 7.938 kB / 0.6841 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/0.184, allocations: 59.45 kB / 0.6842 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.184, allocations: 23.98 kB / 0.6842 GB, free: 3.91 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.0001667/0.1842, allocations: 218.2 kB / 0.6844 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.1843, allocations: 90.88 kB / 0.6845 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.1845, allocations: 101.2 kB / 0.6846 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1845, allocations: 7.938 kB / 0.6846 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.1845, allocations: 11.94 kB / 0.6846 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1845, allocations: 3.984 kB / 0.6846 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.1864, allocations: 1.435 MB / 0.686 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1864, allocations: 3.938 kB / 0.686 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/0.1869, allocations: 99.88 kB / 0.6861 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.187, allocations: 4 kB / 0.6861 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.187, allocations: 15.98 kB / 0.6861 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-06/0.187, allocations: 8 kB / 0.6861 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.187, allocations: 0 / 0.6861 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.1885, allocations: 0.9673 MB / 0.6871 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.1887, allocations: 223.7 kB / 0.6873 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.564e-05/0.1888, allocations: 16 kB / 0.6873 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.1892, allocations: 31.97 kB / 0.6873 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.1893, allocations: 32.52 kB / 0.6874 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.1894, allocations: 24.02 kB / 0.6874 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005385/0.1899, allocations: 0.5185 MB / 0.6879 GB, free: 16 kB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1899, allocations: 0 / 0.6879 GB, free: 16 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006565/0.1906, allocations: 271.1 kB / 0.6882 GB, free: 15.75 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.001719/0.1923, allocations: 1.526 MB / 0.6896 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001446/0.1937, allocations: 0.7915 MB / 0.6904 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1938, allocations: 5 kB / 0.6904 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.1942, allocations: 271.1 kB / 0.6907 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.1953, allocations: 267.6 kB / 0.6909 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008619/0.2039, allocations: 6.529 MB / 0.6973 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.2044, allocations: 0.9898 MB / 0.6983 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004726/0.2049, allocations: 118.8 kB / 0.6984 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004106/0.2053, allocations: 351.3 kB / 0.6987 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of SimCode: time 8.71e-07/0.2053, allocations: 0 / 0.6987 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04201/0.2474, allocations: 17.77 MB / 0.7161 GB, free: 3.172 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.842/9.089, allocations: 10.34 kB / 0.7161 GB, free: 3.168 MB / 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)