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.006383/0.006383, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001449/0.001449, allocations: 198.1 kB / 16.68 MB, free: 5.973 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.517/1.517, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.017/1.017, allocations: 135.6 MB / 426.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 71.86 kB / 0.5857 GB, free: 3.262 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4208, allocations: 81.02 MB / 0.6648 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.004515/0.4253, allocations: 4.326 MB / 0.6691 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002575/0.4279, allocations: 1.591 MB / 0.6706 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004769/0.4285, allocations: 32.25 kB / 0.6706 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.4288, allocations: 168.6 kB / 0.6708 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005363/0.4293, allocations: 221.4 kB / 0.671 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.4305, allocations: 0.6705 MB / 0.6717 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.4315, allocations: 1.228 MB / 0.6729 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006438/0.4322, allocations: 0.5015 MB / 0.6734 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005701/0.4327, allocations: 458.9 kB / 0.6738 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005338/0.4333, allocations: 461.2 kB / 0.6742 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.4335, allocations: 105.3 kB / 0.6743 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.4336, allocations: 103.1 kB / 0.6744 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.4338, allocations: 235.7 kB / 0.6747 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004202/0.4342, allocations: 493.7 kB / 0.6751 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.4355, allocations: 1.165 MB / 0.6763 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4355, allocations: 0 / 0.6763 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4356, allocations: 0 / 0.6763 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.672e-05/0.4356, allocations: 1.156 kB / 0.6763 GB, free: 13.91 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.002599/0.4382, allocations: 1.428 MB / 0.6777 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.4382, allocations: 9.844 kB / 0.6777 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.4384, allocations: 117.4 kB / 0.6778 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.4386, allocations: 131 kB / 0.6779 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.44, allocations: 0.7659 MB / 0.6787 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.4401, allocations: 86.8 kB / 0.6787 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.4402, allocations: 69.62 kB / 0.6788 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.4416, allocations: 0.7418 MB / 0.6795 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.4416, allocations: 0 / 0.6795 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.798e-05/0.4417, allocations: 27.09 kB / 0.6796 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.4417, allocations: 15.72 kB / 0.6796 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.4429, allocations: 0.515 MB / 0.6801 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003631/0.4466, allocations: 2.258 MB / 0.6823 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.448, allocations: 0.6185 MB / 0.6829 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005911/0.4486, allocations: 278.2 kB / 0.6832 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.759e-05/0.4487, allocations: 6.969 kB / 0.6832 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007642/0.4495, allocations: 321.5 kB / 0.6835 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 3.076e-06/0.4495, allocations: 0 / 0.6835 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.002057/0.4516, allocations: 0.7639 MB / 0.6842 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.4517, allocations: 92.11 kB / 0.6843 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.4529, allocations: 0.7547 MB / 0.685 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.906e-05/0.453, allocations: 36.11 kB / 0.6851 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004579/0.4535, allocations: 437.8 kB / 0.6855 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.4537, allocations: 222.1 kB / 0.6857 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.4539, allocations: 107.4 kB / 0.6858 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.4541, allocations: 333.9 kB / 0.6861 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005063/0.4546, allocations: 202.8 kB / 0.6863 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005601/0.4552, allocations: 304.1 kB / 0.6866 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.4563, allocations: 0.5052 MB / 0.6871 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4563, allocations: 5.375 kB / 0.6871 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001493/0.4578, allocations: 0.6633 MB / 0.6878 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.4578, allocations: 3.5 kB / 0.6878 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.4578, allocations: 3.562 kB / 0.6878 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.4579, allocations: 7.031 kB / 0.6878 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006648/0.4585, allocations: 139.2 kB / 0.6879 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.4586, allocations: 8.375 kB / 0.6879 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.4591, allocations: 77.55 kB / 0.688 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.4591, allocations: 27.83 kB / 0.688 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000668/0.4598, allocations: 356 kB / 0.6883 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004981/0.4603, allocations: 297.4 kB / 0.6886 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009012/0.4612, allocations: 497.9 kB / 0.6891 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.195e-06/0.4612, allocations: 0 / 0.6891 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001222/0.4624, allocations: 0.6365 MB / 0.6897 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.4625, allocations: 6.281 kB / 0.6897 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.4625, allocations: 2.594 kB / 0.6897 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.974e-06/0.4625, allocations: 5.031 kB / 0.6897 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006121/0.4631, allocations: 138.6 kB / 0.6899 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.4631, allocations: 16.88 kB / 0.6899 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/0.4636, allocations: 65.67 kB / 0.69 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.36e-05/0.4636, allocations: 23.75 kB / 0.69 GB, free: 4.613 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.0002419/0.4639, allocations: 212.2 kB / 0.6902 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.464, allocations: 95.33 kB / 0.6903 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.4643, allocations: 101.8 kB / 0.6904 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.4643, allocations: 11.16 kB / 0.6904 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.681e-05/0.4643, allocations: 3.938 kB / 0.6904 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.4643, allocations: 7.922 kB / 0.6904 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.4666, allocations: 1.432 MB / 0.6918 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4666, allocations: 7.938 kB / 0.6918 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.4672, allocations: 102.5 kB / 0.6919 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.4672, allocations: 2.812 kB / 0.6919 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/0.4673, allocations: 15.52 kB / 0.6919 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.4673, allocations: 1.531 kB / 0.6919 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4673, allocations: 1.344 kB / 0.6919 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.4691, allocations: 0.9727 MB / 0.6929 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/0.4694, allocations: 223.8 kB / 0.6931 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-05/0.4695, allocations: 11.75 kB / 0.6931 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004352/0.4699, allocations: 35.03 kB / 0.6931 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.676e-05/0.47, allocations: 36.8 kB / 0.6932 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.4701, allocations: 19.89 kB / 0.6932 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007226/0.4708, allocations: 0.5166 MB / 0.6937 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4708, allocations: 0 / 0.6937 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007838/0.4716, allocations: 275.4 kB / 0.6939 GB, free: 2.02 MB / 0.5137 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.002191/0.4738, allocations: 1.534 MB / 0.6954 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001828/0.4756, allocations: 0.7907 MB / 0.6962 GB, free: 216 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4756, allocations: 4 kB / 0.6962 GB, free: 212 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005776/0.4762, allocations: 267.1 kB / 0.6965 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.4775, allocations: 274.1 kB / 0.6967 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.4877, allocations: 6.575 MB / 0.7031 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/0.4884, allocations: 0.9898 MB / 0.7041 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005254/0.4889, allocations: 114.7 kB / 0.7042 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004988/0.4894, allocations: 351.3 kB / 0.7046 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of SimCode: time 7.21e-07/0.4894, allocations: 0 / 0.7046 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04831/0.5377, allocations: 17.45 MB / 0.7216 GB, free: 6.211 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.667/10.2, allocations: 8.547 kB / 0.7216 GB, free: 6.203 MB / 0.545 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)