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.001366/0.001366, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001462, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7265/0.7265, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001418, allocations: 59.47 kB / 0.5019 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3193, allocations: 80.2 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.004211/0.3236, allocations: 4.321 MB / 0.5844 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.3258, allocations: 1.586 MB / 0.5859 GB, free: 308 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003355/0.3261, allocations: 34.81 kB / 0.586 GB, free: 296 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.3264, allocations: 169.9 kB / 0.5861 GB, free: 168 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004934/0.3269, allocations: 226.8 kB / 0.5864 GB, free: 4 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.3281, allocations: 0.6688 MB / 0.587 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.3292, allocations: 1.219 MB / 0.5882 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006651/0.3299, allocations: 0.5086 MB / 0.5887 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004782/0.3304, allocations: 459.9 kB / 0.5891 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004361/0.3308, allocations: 463.2 kB / 0.5896 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.331, allocations: 105.8 kB / 0.5897 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.3311, allocations: 102.2 kB / 0.5898 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.3313, allocations: 236 kB / 0.59 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003478/0.3316, allocations: 489.2 kB / 0.5905 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009887/0.3326, allocations: 1.106 MB / 0.5915 GB, free: 13.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3326, allocations: 5.094 kB / 0.5916 GB, free: 13.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3326, allocations: 0 / 0.5916 GB, free: 13.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.3327, allocations: 0 / 0.5916 GB, free: 13.17 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.002207/0.3349, allocations: 1.404 MB / 0.5929 GB, free: 12.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.3349, allocations: 9.344 kB / 0.5929 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001221/0.335, allocations: 113.5 kB / 0.593 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.3352, allocations: 122.8 kB / 0.5932 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.3363, allocations: 0.7203 MB / 0.5939 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-05/0.3364, allocations: 83.2 kB / 0.5939 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.574e-05/0.3365, allocations: 75.25 kB / 0.594 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.3377, allocations: 0.7328 MB / 0.5947 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3377, allocations: 0 / 0.5947 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.713e-05/0.3378, allocations: 29.91 kB / 0.5948 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.3378, allocations: 21.16 kB / 0.5948 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.3388, allocations: 0.5135 MB / 0.5953 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.3417, allocations: 2.277 MB / 0.5975 GB, free: 9.238 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/0.343, allocations: 0.6207 MB / 0.5981 GB, free: 8.922 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000467/0.3435, allocations: 274.5 kB / 0.5984 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.3435, allocations: 7.5 kB / 0.5984 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006447/0.3442, allocations: 324.9 kB / 0.5987 GB, free: 8.582 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 1.984e-06/0.3442, allocations: 0 / 0.5987 GB, free: 8.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001472/0.3457, allocations: 0.7563 MB / 0.5994 GB, free: 8.207 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.3457, allocations: 88.11 kB / 0.5995 GB, free: 8.109 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007898/0.3465, allocations: 0.7568 MB / 0.6002 GB, free: 7.676 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.3466, allocations: 37.8 kB / 0.6003 GB, free: 7.637 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.3469, allocations: 436.7 kB / 0.6007 GB, free: 7.258 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.347, allocations: 208.7 kB / 0.6009 GB, free: 7.074 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.3472, allocations: 114.2 kB / 0.601 GB, free: 7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3473, allocations: 331.3 kB / 0.6013 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004374/0.3477, allocations: 206.5 kB / 0.6015 GB, free: 6.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000499/0.3482, allocations: 312 kB / 0.6018 GB, free: 6.355 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009067/0.3492, allocations: 0.5061 MB / 0.6023 GB, free: 6.043 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.3492, allocations: 4 kB / 0.6023 GB, free: 6.039 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001158/0.3503, allocations: 0.6496 MB / 0.603 GB, free: 5.707 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3504, allocations: 9.438 kB / 0.603 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3504, allocations: 3.094 kB / 0.603 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3504, allocations: 5.625 kB / 0.603 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000596/0.351, allocations: 145.5 kB / 0.6031 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.351, allocations: 8.781 kB / 0.6031 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.3514, allocations: 68.41 kB / 0.6032 GB, free: 5.617 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.3515, allocations: 23.94 kB / 0.6032 GB, free: 5.609 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005429/0.352, allocations: 352.9 kB / 0.6035 GB, free: 5.391 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004591/0.3525, allocations: 299.9 kB / 0.6038 GB, free: 5.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008098/0.3533, allocations: 490.9 kB / 0.6043 GB, free: 4.883 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.963e-06/0.3533, allocations: 0 / 0.6043 GB, free: 4.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.00106/0.3544, allocations: 0.6286 MB / 0.6049 GB, free: 4.562 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.3544, allocations: 8.219 kB / 0.6049 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.3544, allocations: 1.438 kB / 0.6049 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-06/0.3544, allocations: 5.281 kB / 0.6049 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005516/0.355, allocations: 139.4 kB / 0.6051 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.355, allocations: 8.906 kB / 0.6051 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.3554, allocations: 65.62 kB / 0.6051 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.3554, allocations: 19.09 kB / 0.6051 GB, free: 4.477 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,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.000156/0.3556, allocations: 217.5 kB / 0.6054 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.3557, allocations: 98.2 kB / 0.6054 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.3559, allocations: 106.6 kB / 0.6055 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3559, allocations: 5.5 kB / 0.6056 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.3559, allocations: 11.88 kB / 0.6056 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3559, allocations: 1.188 kB / 0.6056 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.3579, allocations: 1.434 MB / 0.607 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3579, allocations: 9 kB / 0.607 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005189/0.3584, allocations: 101.7 kB / 0.6071 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.3584, allocations: 2.875 kB / 0.6071 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.3585, allocations: 11.59 kB / 0.6071 GB, free: 3.074 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.3585, allocations: 2.375 kB / 0.6071 GB, free: 3.074 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3585, allocations: 4 kB / 0.6071 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.3601, allocations: 0.9647 MB / 0.608 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/0.3603, allocations: 217.8 kB / 0.6082 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.134e-05/0.3604, allocations: 11.41 kB / 0.6083 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.3609, allocations: 35.25 kB / 0.6083 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.057e-05/0.3609, allocations: 37.72 kB / 0.6083 GB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.361, allocations: 20.86 kB / 0.6083 GB, free: 2.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005751/0.3616, allocations: 0.5162 MB / 0.6088 GB, free: 1.961 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3616, allocations: 0 / 0.6088 GB, free: 1.961 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006528/0.3622, allocations: 282.3 kB / 0.6091 GB, free: 1.879 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 (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.001798/0.364, allocations: 1.526 MB / 0.6106 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.3657, allocations: 0.8174 MB / 0.6114 GB, free: 428 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3658, allocations: 1.375 kB / 0.6114 GB, free: 428 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004671/0.3662, allocations: 266 kB / 0.6117 GB, free: 312 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.3673, allocations: 266.2 kB / 0.6119 GB, free: 168 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008465/0.3758, allocations: 6.967 MB / 0.6187 GB, free: 9.207 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.3763, allocations: 0.99 MB / 0.6197 GB, free: 8.191 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00046/0.3767, allocations: 122.7 kB / 0.6198 GB, free: 8.066 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003994/0.3772, allocations: 351.3 kB / 0.6201 GB, free: 7.723 MB / 462.1 MB Notification: Performance of SimCode: time 2.124e-06/0.3772, allocations: 0 / 0.6201 GB, free: 7.723 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.419/0.7962, allocations: 17.18 MB / 0.6369 GB, free: 6.766 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.228/9.024, allocations: 11.92 kB / 0.6369 GB, free: 6.758 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/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)