Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IDEAS_dev_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.001044/0.001044, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008006/0.008006, allocations: 170 kB / 16.27 MB, free: 6.652 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.363/1.363, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8886/0.8886, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003195, allocations: 8 kB / 0.5077 GB, free: 4.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1323, allocations: 82.3 MB / 0.5881 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.003779/0.1362, allocations: 3.875 MB / 0.5918 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002579/0.1388, allocations: 1.527 MB / 0.5933 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006096/0.1394, allocations: 31.81 kB / 0.5934 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003643/0.1398, allocations: 126.8 kB / 0.5935 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007149/0.1405, allocations: 174.8 kB / 0.5937 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.1417, allocations: 0.6186 MB / 0.5943 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001162/0.1429, allocations: 1.14 MB / 0.5954 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006738/0.1436, allocations: 492.1 kB / 0.5958 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004759/0.144, allocations: 349.8 kB / 0.5962 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000412/0.1445, allocations: 357.5 kB / 0.5965 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.1446, allocations: 28 kB / 0.5965 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.76e-05/0.1447, allocations: 24 kB / 0.5966 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1448, allocations: 139.1 kB / 0.5967 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.1451, allocations: 414.8 kB / 0.5971 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006918/0.1458, allocations: 1.016 MB / 0.5981 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1458, allocations: 0 / 0.5981 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1458, allocations: 0 / 0.5981 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.1458, allocations: 0 / 0.5981 GB, free: 8.215 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.001839/0.1477, allocations: 1.243 MB / 0.5993 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1477, allocations: 8.031 kB / 0.5993 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.1478, allocations: 106.7 kB / 0.5994 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.148, allocations: 123.4 kB / 0.5995 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009754/0.149, allocations: 0.7353 MB / 0.6002 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.539e-05/0.1491, allocations: 84.27 kB / 0.6003 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.839e-05/0.1491, allocations: 72.28 kB / 0.6004 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.1503, allocations: 0.7561 MB / 0.6011 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1503, allocations: 0 / 0.6011 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.709e-05/0.1503, allocations: 28 kB / 0.6012 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.1504, allocations: 20 kB / 0.6012 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.1514, allocations: 0.5244 MB / 0.6017 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.1543, allocations: 2.298 MB / 0.6039 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.1556, allocations: 0.6308 MB / 0.6046 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004882/0.1561, allocations: 282.4 kB / 0.6048 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.1561, allocations: 8.547 kB / 0.6048 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000625/0.1568, allocations: 335 kB / 0.6052 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 1.993e-06/0.1568, allocations: 0 / 0.6052 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.2266/0.3834, allocations: 0.763 MB / 0.6059 GB, free: 48.74 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.3835, allocations: 91.25 kB / 0.606 GB, free: 48.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.3846, allocations: 0.754 MB / 0.6067 GB, free: 48.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.3847, allocations: 38.58 kB / 0.6068 GB, free: 48.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/0.385, allocations: 441.1 kB / 0.6072 GB, free: 48.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.3852, allocations: 203.3 kB / 0.6074 GB, free: 48.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.3853, allocations: 58.08 kB / 0.6074 GB, free: 48.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.074e-05/0.3854, allocations: 332.4 kB / 0.6077 GB, free: 48.03 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004489/0.3858, allocations: 207 kB / 0.6079 GB, free: 48.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/0.3863, allocations: 312.3 kB / 0.6082 GB, free: 47.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008535/0.3871, allocations: 0.5214 MB / 0.6087 GB, free: 47.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3871, allocations: 0 / 0.6087 GB, free: 47.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001117/0.3883, allocations: 0.6596 MB / 0.6094 GB, free: 47.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.638e-05/0.3883, allocations: 167.7 kB / 0.6096 GB, free: 47.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3883, allocations: 0 / 0.6096 GB, free: 47.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.3884, allocations: 5.625 kB / 0.6096 GB, free: 47.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.389, allocations: 143.9 kB / 0.6097 GB, free: 47.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.389, allocations: 16.39 kB / 0.6097 GB, free: 47.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/0.3894, allocations: 73.75 kB / 0.6098 GB, free: 47.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.3895, allocations: 22.38 kB / 0.6098 GB, free: 47.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.212e-06/0.3895, allocations: 6.688 kB / 0.6098 GB, free: 47.57 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009648/0.3905, allocations: 0.5212 MB / 0.6103 GB, free: 47.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3905, allocations: 10.09 kB / 0.6103 GB, free: 47.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.252e-06/0.3905, allocations: 5.688 kB / 0.6103 GB, free: 47.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005397/0.391, allocations: 140.6 kB / 0.6105 GB, free: 47.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.3911, allocations: 9.281 kB / 0.6105 GB, free: 47.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004099/0.3915, allocations: 62.72 kB / 0.6105 GB, free: 47.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.3915, allocations: 22.14 kB / 0.6106 GB, free: 47.52 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.0002866/0.3918, allocations: 305.9 kB / 0.6108 GB, free: 47.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.3919, allocations: 90.97 kB / 0.6109 GB, free: 47.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.3921, allocations: 109.5 kB / 0.611 GB, free: 47.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3921, allocations: 6.5 kB / 0.611 GB, free: 47.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.3921, allocations: 0.5 kB / 0.611 GB, free: 47.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3921, allocations: 3.422 kB / 0.611 GB, free: 47.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.3939, allocations: 1.457 MB / 0.6125 GB, free: 46.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3939, allocations: 0.75 kB / 0.6125 GB, free: 46.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.3944, allocations: 107.4 kB / 0.6126 GB, free: 46.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.3945, allocations: 2.406 kB / 0.6126 GB, free: 46.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/0.3945, allocations: 14.67 kB / 0.6126 GB, free: 46.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.3945, allocations: 2.906 kB / 0.6126 GB, free: 46.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3945, allocations: 7.125 kB / 0.6126 GB, free: 46.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.396, allocations: 0.9802 MB / 0.6136 GB, free: 46.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.3962, allocations: 229 kB / 0.6138 GB, free: 46.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.192e-05/0.3962, allocations: 12.78 kB / 0.6138 GB, free: 46.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004185/0.3967, allocations: 42.89 kB / 0.6138 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.3968, allocations: 38.5 kB / 0.6139 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.3968, allocations: 16.27 kB / 0.6139 GB, free: 46.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004913/0.3973, allocations: 0.5202 MB / 0.6144 GB, free: 46.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3973, allocations: 0 / 0.6144 GB, free: 46.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006134/0.3979, allocations: 275.7 kB / 0.6147 GB, free: 46.13 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.001585/0.3995, allocations: 1.538 MB / 0.6162 GB, free: 45.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00132/0.4008, allocations: 0.8162 MB / 0.617 GB, free: 44.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4009, allocations: 0 / 0.617 GB, free: 44.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004388/0.4013, allocations: 275.7 kB / 0.6172 GB, free: 44.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.4024, allocations: 240.1 kB / 0.6174 GB, free: 44.67 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008445/0.4109, allocations: 7.336 MB / 0.6246 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.4112, allocations: 0.9944 MB / 0.6256 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004444/0.4117, allocations: 115.2 kB / 0.6257 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003629/0.412, allocations: 351.2 kB / 0.626 GB, free: 39.37 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.412, allocations: 0 / 0.626 GB, free: 39.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.41/1.822, allocations: 16.38 MB / 0.642 GB, free: 38.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/1.822, allocations: 186.8 kB / 0.6422 GB, free: 38.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.614/4.436, allocations: 3.938 kB / 0.6422 GB, free: 38.1 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)