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.0009758/0.0009757, allocations: 87.11 kB / 15.06 MB, free: 1.09 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: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.844/0.844, allocations: 132.4 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003914, allocations: 8 kB / 0.5035 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5304/0.5308, allocations: 81.57 MB / 0.5831 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.004216/0.5351, allocations: 3.658 MB / 0.5867 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003335/0.5384, allocations: 1.516 MB / 0.5882 GB, free: 96 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006414/0.5391, allocations: 33.53 kB / 0.5882 GB, free: 84 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.5395, allocations: 114.5 kB / 0.5883 GB, free: 8 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006686/0.5402, allocations: 169.9 kB / 0.5885 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.5417, allocations: 0.5235 MB / 0.589 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001483/0.5432, allocations: 1.046 MB / 0.59 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006913/0.5439, allocations: 349.7 kB / 0.5904 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005828/0.5445, allocations: 336.5 kB / 0.5907 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004736/0.545, allocations: 335.8 kB / 0.591 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.843e-05/0.5451, allocations: 25.19 kB / 0.591 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.377e-05/0.5451, allocations: 25.81 kB / 0.5911 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.5453, allocations: 138.6 kB / 0.5912 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.5455, allocations: 170.9 kB / 0.5913 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.5468, allocations: 0.8163 MB / 0.5921 GB, free: 14.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.974e-06/0.5468, allocations: 1.25 kB / 0.5921 GB, free: 14.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.5468, allocations: 0 / 0.5921 GB, free: 14.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.5468, allocations: 4 kB / 0.5922 GB, free: 14.19 MB / 446.1 MB 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.002659/0.5495, allocations: 1.242 MB / 0.5934 GB, free: 13.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.5495, allocations: 9.469 kB / 0.5934 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001945/0.5497, allocations: 117.5 kB / 0.5935 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.55, allocations: 124.9 kB / 0.5936 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.5514, allocations: 0.686 MB / 0.5943 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.5516, allocations: 92 kB / 0.5944 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.5517, allocations: 73.59 kB / 0.5944 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.5533, allocations: 0.73 MB / 0.5951 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.5533, allocations: 3.938 kB / 0.5952 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.329e-05/0.5534, allocations: 27.92 kB / 0.5952 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.5534, allocations: 16.22 kB / 0.5952 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.5547, allocations: 0.5239 MB / 0.5957 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003763/0.5585, allocations: 2.299 MB / 0.5979 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.5599, allocations: 0.6251 MB / 0.5986 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005343/0.5604, allocations: 280.8 kB / 0.5988 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.917e-05/0.5605, allocations: 11.77 kB / 0.5988 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007538/0.5613, allocations: 329.8 kB / 0.5992 GB, free: 9.863 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.735e-06/0.5613, allocations: 0 / 0.5992 GB, free: 9.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001841/0.5631, allocations: 0.7733 MB / 0.5999 GB, free: 9.484 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.5632, allocations: 84.12 kB / 0.6 GB, free: 9.387 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.5645, allocations: 0.7497 MB / 0.6007 GB, free: 8.953 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.647e-05/0.5646, allocations: 37.8 kB / 0.6008 GB, free: 8.914 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/0.565, allocations: 440.2 kB / 0.6012 GB, free: 8.531 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.5652, allocations: 204.8 kB / 0.6014 GB, free: 8.352 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.5653, allocations: 15.41 kB / 0.6014 GB, free: 8.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.5654, allocations: 339.2 kB / 0.6017 GB, free: 8.008 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.5659, allocations: 198.9 kB / 0.6019 GB, free: 7.918 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005451/0.5665, allocations: 310.2 kB / 0.6022 GB, free: 7.707 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/0.567, allocations: 240.2 kB / 0.6024 GB, free: 7.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.5671, allocations: 0 / 0.6024 GB, free: 7.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001375/0.5684, allocations: 0.6593 MB / 0.6031 GB, free: 7.254 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.5686, allocations: 153.3 kB / 0.6032 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.5686, allocations: 2.875 kB / 0.6032 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.5686, allocations: 8.984 kB / 0.6032 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006839/0.5693, allocations: 147.8 kB / 0.6034 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.838e-05/0.5694, allocations: 17.89 kB / 0.6034 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/0.57, allocations: 66.86 kB / 0.6034 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.131e-05/0.57, allocations: 22.89 kB / 0.6035 GB, free: 6.984 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.5701, allocations: 3.438 kB / 0.6035 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001221/0.5713, allocations: 0.5205 MB / 0.604 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.5713, allocations: 2.5 kB / 0.604 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.5713, allocations: 9.969 kB / 0.604 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/0.572, allocations: 147.3 kB / 0.6041 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/0.572, allocations: 13.56 kB / 0.6041 GB, free: 6.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005343/0.5726, allocations: 69.28 kB / 0.6042 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.607e-05/0.5726, allocations: 19.22 kB / 0.6042 GB, free: 6.629 MB / 446.1 MB 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,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005477/0.5732, allocations: 294.5 kB / 0.6045 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.5734, allocations: 99.27 kB / 0.6046 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.5737, allocations: 110.1 kB / 0.6047 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.5737, allocations: 5.188 kB / 0.6047 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/0.5738, allocations: 1.344 kB / 0.6047 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.5738, allocations: 3.984 kB / 0.6047 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/0.5764, allocations: 1.451 MB / 0.6061 GB, free: 5.215 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.5765, allocations: 0 / 0.6061 GB, free: 5.215 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005635/0.577, allocations: 112.7 kB / 0.6062 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.489e-05/0.5771, allocations: 3.094 kB / 0.6062 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.5771, allocations: 11.12 kB / 0.6063 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.5771, allocations: 2.062 kB / 0.6063 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5771, allocations: 1.219 kB / 0.6063 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.5792, allocations: 0.9805 MB / 0.6072 GB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003891/0.5796, allocations: 222.1 kB / 0.6074 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.5797, allocations: 12.53 kB / 0.6074 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004755/0.5802, allocations: 41.48 kB / 0.6075 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.851e-05/0.5803, allocations: 33.14 kB / 0.6075 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/0.5804, allocations: 21.17 kB / 0.6075 GB, free: 4.352 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008787/0.5813, allocations: 0.5122 MB / 0.608 GB, free: 4.059 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5813, allocations: 0 / 0.608 GB, free: 4.059 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001008/0.5823, allocations: 278.4 kB / 0.6083 GB, free: 3.98 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002152/0.5844, allocations: 1.537 MB / 0.6098 GB, free: 2.879 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001857/0.5863, allocations: 0.7977 MB / 0.6106 GB, free: 2.535 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.5863, allocations: 0.625 kB / 0.6106 GB, free: 2.535 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005713/0.5869, allocations: 274 kB / 0.6108 GB, free: 2.422 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.5883, allocations: 243.6 kB / 0.6111 GB, free: 2.297 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.5983, allocations: 5.107 MB / 0.6161 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/0.599, allocations: 0.9979 MB / 0.617 GB, free: 12.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006982/0.5997, allocations: 118.7 kB / 0.6172 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004964/0.6002, allocations: 351.3 kB / 0.6175 GB, free: 12.52 MB / 462.1 MB Notification: Performance of SimCode: time 1.513e-06/0.6002, allocations: 0 / 0.6175 GB, free: 12.52 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03823/0.6385, allocations: 16.48 MB / 0.6336 GB, free: 12.3 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.6387, allocations: 172.1 kB / 0.6337 GB, free: 12.07 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/2.903, allocations: 0 / 0.6337 GB, free: 12.07 MB / 478.1 MB (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/linux/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) Environment - environmentSimulation: