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.00107/0.00107, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001229/0.001229, allocations: 196.7 kB / 16.14 MB, free: 6.715 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7678/0.7678, allocations: 132.2 MB / 422.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 60.78 kB / 0.5012 GB, free: 9.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1458, allocations: 80.19 MB / 0.5795 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.005422/0.1513, allocations: 4.326 MB / 0.5837 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002945/0.1543, allocations: 1.543 MB / 0.5852 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007861/0.1551, allocations: 35.81 kB / 0.5853 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005802/0.1557, allocations: 126.8 kB / 0.5854 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000837/0.1566, allocations: 178.8 kB / 0.5855 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.1579, allocations: 0.6137 MB / 0.5861 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001383/0.1593, allocations: 1.148 MB / 0.5873 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007758/0.1601, allocations: 496.1 kB / 0.5877 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005701/0.1607, allocations: 405.8 kB / 0.5881 GB, free: 260 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005072/0.1612, allocations: 425.5 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.1614, allocations: 48 kB / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1615, allocations: 48 kB / 0.5886 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.1617, allocations: 175 kB / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003764/0.162, allocations: 441 kB / 0.5892 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008261/0.1629, allocations: 1.055 MB / 0.5902 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.1629, allocations: 8 kB / 0.5902 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1629, allocations: 3.938 kB / 0.5902 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.364e-05/0.1629, allocations: 0 / 0.5902 GB, free: 14.07 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.002542/0.1655, allocations: 1.399 MB / 0.5916 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.1655, allocations: 11.97 kB / 0.5916 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/0.1657, allocations: 106.7 kB / 0.5917 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.1659, allocations: 123.4 kB / 0.5918 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.167, allocations: 0.7353 MB / 0.5926 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.438e-05/0.1671, allocations: 84.27 kB / 0.5926 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.661e-05/0.1672, allocations: 68.28 kB / 0.5927 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.1684, allocations: 0.7405 MB / 0.5934 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1685, allocations: 0 / 0.5934 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.396e-05/0.1685, allocations: 28 kB / 0.5935 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.1685, allocations: 16 kB / 0.5935 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.1696, allocations: 0.5204 MB / 0.594 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003282/0.1729, allocations: 2.275 MB / 0.5962 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.1744, allocations: 0.6114 MB / 0.5968 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005126/0.1749, allocations: 279.9 kB / 0.5971 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.709e-05/0.175, allocations: 8.562 kB / 0.5971 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006987/0.1757, allocations: 319.1 kB / 0.5974 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.885e-06/0.1757, allocations: 3.938 kB / 0.5974 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001632/0.1773, allocations: 0.7555 MB / 0.5981 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.1774, allocations: 85.61 kB / 0.5982 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009707/0.1784, allocations: 0.7633 MB / 0.5989 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.19e-05/0.1785, allocations: 41.69 kB / 0.599 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/0.1788, allocations: 432.5 kB / 0.5994 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.179, allocations: 209 kB / 0.5996 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.1792, allocations: 110.3 kB / 0.5997 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1793, allocations: 329.9 kB / 0.6 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/0.1798, allocations: 211.4 kB / 0.6002 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/0.1803, allocations: 300.5 kB / 0.6005 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009691/0.1813, allocations: 0.5036 MB / 0.601 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.1813, allocations: 4 kB / 0.601 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001278/0.1826, allocations: 0.6577 MB / 0.6016 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1826, allocations: 8 kB / 0.6017 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1827, allocations: 0 / 0.6017 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1827, allocations: 8 kB / 0.6017 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006351/0.1833, allocations: 144 kB / 0.6018 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.1833, allocations: 7.938 kB / 0.6018 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.1838, allocations: 71.34 kB / 0.6019 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.1838, allocations: 24 kB / 0.6019 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006146/0.1845, allocations: 353.4 kB / 0.6022 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004609/0.1849, allocations: 296.5 kB / 0.6025 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008579/0.1858, allocations: 495.6 kB / 0.603 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.345e-06/0.1858, allocations: 0 / 0.603 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.2453/0.4311, allocations: 0.6256 MB / 0.6036 GB, free: 55.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4312, allocations: 7.719 kB / 0.6036 GB, free: 55.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4312, allocations: 2.75 kB / 0.6036 GB, free: 55.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.4312, allocations: 4.469 kB / 0.6036 GB, free: 55.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007513/0.432, allocations: 139 kB / 0.6037 GB, free: 55.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.432, allocations: 5.281 kB / 0.6038 GB, free: 55.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005476/0.4326, allocations: 69.03 kB / 0.6038 GB, free: 55.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.698e-05/0.4327, allocations: 19.53 kB / 0.6038 GB, free: 55.19 MB / 0.4981 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.0002425/0.4329, allocations: 218.6 kB / 0.604 GB, free: 55.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.4331, allocations: 93.06 kB / 0.6041 GB, free: 55.01 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.4333, allocations: 103.3 kB / 0.6042 GB, free: 55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4333, allocations: 6.906 kB / 0.6042 GB, free: 55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.4333, allocations: 3.75 kB / 0.6042 GB, free: 55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4334, allocations: 4.875 kB / 0.6042 GB, free: 55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.4353, allocations: 1.436 MB / 0.6057 GB, free: 54.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4353, allocations: 0.6875 kB / 0.6057 GB, free: 54.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005191/0.4358, allocations: 110.6 kB / 0.6058 GB, free: 54.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.4358, allocations: 4.938 kB / 0.6058 GB, free: 54.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.4359, allocations: 9.375 kB / 0.6058 GB, free: 54.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.4359, allocations: 8.219 kB / 0.6058 GB, free: 54.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4359, allocations: 0 / 0.6058 GB, free: 54.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.4373, allocations: 0.9638 MB / 0.6067 GB, free: 54.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.4376, allocations: 224 kB / 0.6069 GB, free: 54.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.4377, allocations: 14.81 kB / 0.6069 GB, free: 54.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.4381, allocations: 35.02 kB / 0.607 GB, free: 54.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.968e-05/0.4382, allocations: 35.28 kB / 0.607 GB, free: 54.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.4383, allocations: 19.69 kB / 0.607 GB, free: 54.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005407/0.4388, allocations: 0.5173 MB / 0.6075 GB, free: 54.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4388, allocations: 0 / 0.6075 GB, free: 54.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006505/0.4395, allocations: 273.8 kB / 0.6078 GB, free: 54.05 MB / 0.4981 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.001562/0.441, allocations: 1.526 MB / 0.6093 GB, free: 53.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.4425, allocations: 0.7934 MB / 0.6101 GB, free: 52.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4425, allocations: 0 / 0.6101 GB, free: 52.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004196/0.4429, allocations: 269.7 kB / 0.6103 GB, free: 52.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.4439, allocations: 244 kB / 0.6106 GB, free: 52.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008371/0.4523, allocations: 7.278 MB / 0.6177 GB, free: 48.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.4526, allocations: 0.9903 MB / 0.6186 GB, free: 47.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004762/0.4531, allocations: 116.2 kB / 0.6187 GB, free: 47.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003692/0.4535, allocations: 349.1 kB / 0.6191 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.4535, allocations: 0 / 0.6191 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.4848, allocations: 16.55 MB / 0.6352 GB, free: 46.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001495/0.4849, allocations: 185.4 kB / 0.6354 GB, free: 46.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/2.68, allocations: 0 / 0.6354 GB, free: 46.04 MB / 0.4981 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)