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.001707/0.001707, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.002288/0.002288, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.492/2.492, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.291/1.291, allocations: 132.2 MB / 423.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004677, allocations: 8 kB / 0.5033 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9167/0.9172, allocations: 81.58 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.008446/0.9258, allocations: 3.658 MB / 0.5865 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00687/0.9328, allocations: 1.455 MB / 0.588 GB, free: 320 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.9344, allocations: 28.47 kB / 0.588 GB, free: 312 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.9348, allocations: 65.44 kB / 0.588 GB, free: 264 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.9364, allocations: 244.6 kB / 0.5883 GB, free: 100 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.939, allocations: 0.5228 MB / 0.5888 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003749/0.9428, allocations: 0.7767 MB / 0.5895 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.9441, allocations: 358.8 kB / 0.5899 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.9455, allocations: 371.6 kB / 0.5902 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009622/0.9465, allocations: 335.1 kB / 0.5906 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.9467, allocations: 26.47 kB / 0.5906 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.9469, allocations: 26 kB / 0.5906 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000298/0.9472, allocations: 138.1 kB / 0.5907 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003602/0.9475, allocations: 171.3 kB / 0.5909 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002272/0.9498, allocations: 0.8093 MB / 0.5917 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.9499, allocations: 0.5625 kB / 0.5917 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.921e-06/0.9499, allocations: 0.75 kB / 0.5917 GB, free: 14.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.112e-05/0.9499, allocations: 5.125 kB / 0.5917 GB, free: 14.45 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.006018/0.956, allocations: 1.245 MB / 0.5929 GB, free: 13.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.937e-05/0.9561, allocations: 9.641 kB / 0.5929 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005129/0.9566, allocations: 113.3 kB / 0.593 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005707/0.9572, allocations: 122.3 kB / 0.5932 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002754/0.96, allocations: 0.6891 MB / 0.5938 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.9602, allocations: 87.64 kB / 0.5939 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/0.9604, allocations: 73.97 kB / 0.594 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002947/0.9634, allocations: 0.729 MB / 0.5947 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.9635, allocations: 0 / 0.5947 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.9636, allocations: 27.44 kB / 0.5947 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/0.9637, allocations: 16.41 kB / 0.5947 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002465/0.9661, allocations: 0.5274 MB / 0.5952 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008456/0.9746, allocations: 2.298 MB / 0.5975 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002886/0.9776, allocations: 0.6418 MB / 0.5981 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.78e-05/0.9777, allocations: 11.19 kB / 0.5981 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001342/0.9791, allocations: 324.2 kB / 0.5984 GB, free: 10.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 6.552e-06/0.9791, allocations: 3.938 kB / 0.5984 GB, free: 10.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.003613/0.9827, allocations: 0.7686 MB / 0.5992 GB, free: 9.895 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.9829, allocations: 84.36 kB / 0.5993 GB, free: 9.801 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/0.9852, allocations: 0.7545 MB / 0.6 GB, free: 9.363 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001429/0.9854, allocations: 36.45 kB / 0.6 GB, free: 9.324 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007255/0.9861, allocations: 437.5 kB / 0.6005 GB, free: 8.945 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004161/0.9866, allocations: 208.2 kB / 0.6007 GB, free: 8.762 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.9866, allocations: 10.12 kB / 0.6007 GB, free: 8.754 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002294/0.9869, allocations: 336 kB / 0.601 GB, free: 8.426 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008894/0.9878, allocations: 206.9 kB / 0.6012 GB, free: 8.328 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.9888, allocations: 307.8 kB / 0.6015 GB, free: 8.117 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009688/0.9898, allocations: 231.5 kB / 0.6017 GB, free: 8.004 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.9898, allocations: 1.625 kB / 0.6017 GB, free: 8.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002866/0.9927, allocations: 0.6578 MB / 0.6023 GB, free: 7.672 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007462/0.9935, allocations: 0.8812 MB / 0.6032 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.9935, allocations: 3.156 kB / 0.6032 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.002e-05/0.9936, allocations: 9.5 kB / 0.6032 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.9949, allocations: 148.3 kB / 0.6034 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.151e-05/0.9949, allocations: 4.406 kB / 0.6034 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.9962, allocations: 71.28 kB / 0.6034 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.345e-05/0.9963, allocations: 23.5 kB / 0.6035 GB, free: 6.641 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.9963, allocations: 7.781 kB / 0.6035 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00218/0.9985, allocations: 0.5178 MB / 0.604 GB, free: 6.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.9986, allocations: 8.797 kB / 0.604 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.9986, allocations: 6.156 kB / 0.604 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.9997, allocations: 139.3 kB / 0.6041 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.074e-05/0.9998, allocations: 12.58 kB / 0.6041 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/1.001, allocations: 66.42 kB / 0.6042 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.393e-05/1.001, allocations: 23.25 kB / 0.6042 GB, free: 6.293 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.001154/1.002, allocations: 300.4 kB / 0.6045 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005411/1.003, allocations: 95.72 kB / 0.6046 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004872/1.003, allocations: 105.9 kB / 0.6047 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/1.003, allocations: 5.312 kB / 0.6047 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-05/1.003, allocations: 5.328 kB / 0.6047 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/1.003, allocations: 4.078 kB / 0.6047 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00491/1.008, allocations: 1.454 MB / 0.6061 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/1.008, allocations: 1.219 kB / 0.6061 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009741/1.009, allocations: 108 kB / 0.6062 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.207e-05/1.01, allocations: 2.719 kB / 0.6062 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.98e-05/1.01, allocations: 20.31 kB / 0.6063 GB, free: 4.832 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.689e-05/1.01, allocations: 1.375 kB / 0.6063 GB, free: 4.832 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.01, allocations: 1.25 kB / 0.6063 GB, free: 4.832 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003543/1.013, allocations: 0.9682 MB / 0.6072 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008169/1.014, allocations: 222.6 kB / 0.6074 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/1.014, allocations: 12.41 kB / 0.6074 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006937/1.015, allocations: 45.48 kB / 0.6075 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/1.015, allocations: 37.94 kB / 0.6075 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.673e-05/1.015, allocations: 19.5 kB / 0.6075 GB, free: 4.016 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001397/1.017, allocations: 0.5051 MB / 0.608 GB, free: 3.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/1.017, allocations: 0 / 0.608 GB, free: 3.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001644/1.018, allocations: 277.7 kB / 0.6083 GB, free: 3.652 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.00363/1.022, allocations: 1.539 MB / 0.6098 GB, free: 2.543 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003232/1.025, allocations: 0.8004 MB / 0.6106 GB, free: 2.199 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.025, allocations: 8.906 kB / 0.6106 GB, free: 2.191 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/1.026, allocations: 273.1 kB / 0.6108 GB, free: 2.074 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/1.028, allocations: 231.3 kB / 0.6111 GB, free: 1.953 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007694/1.036, allocations: 3.634 MB / 0.6146 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/1.037, allocations: 1.013 MB / 0.6156 GB, free: 14.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001215/1.039, allocations: 115.8 kB / 0.6157 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/1.04, allocations: 353.5 kB / 0.616 GB, free: 13.74 MB / 462.1 MB Notification: Performance of SimCode: time 2.244e-06/1.04, allocations: 0 / 0.616 GB, free: 13.74 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1083/1.148, allocations: 15.93 MB / 0.6316 GB, free: 14.36 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000282/1.148, allocations: 169.5 kB / 0.6318 GB, free: 14.12 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.64/4.788, allocations: 4 kB / 0.6318 GB, free: 14.12 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: