Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",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.001382/0.001382, allocations: 108 kB / 15.61 MB, free: 152 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.001661/0.001661, allocations: 193.6 kB / 16.53 MB, free: 6.699 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7571/0.7571, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 60 kB / 0.5019 GB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3866, allocations: 80.21 MB / 0.5802 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.004733/0.3913, allocations: 4.099 MB / 0.5842 GB, free: 1.617 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.3935, allocations: 1.326 MB / 0.5855 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003323/0.3939, allocations: 21.34 kB / 0.5855 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.3942, allocations: 127.2 kB / 0.5856 GB, free: 0.543 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.3946, allocations: 180.7 kB / 0.5858 GB, free: 416 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007551/0.3953, allocations: 418.7 kB / 0.5862 GB, free: 160 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000891/0.3962, allocations: 0.9561 MB / 0.5871 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006149/0.3969, allocations: 457.5 kB / 0.5876 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.3972, allocations: 328.6 kB / 0.5879 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.3976, allocations: 340.2 kB / 0.5882 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.3977, allocations: 91.22 kB / 0.5883 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.3978, allocations: 89.91 kB / 0.5884 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.398, allocations: 169.4 kB / 0.5885 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.3983, allocations: 403.1 kB / 0.5889 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.3994, allocations: 1.036 MB / 0.5899 GB, free: 14.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3994, allocations: 0.9375 kB / 0.5899 GB, free: 14.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3994, allocations: 0 / 0.5899 GB, free: 14.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.3994, allocations: 0 / 0.5899 GB, free: 14.18 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001833/0.4013, allocations: 1.076 MB / 0.591 GB, free: 13.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.4013, allocations: 8.938 kB / 0.591 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/0.4014, allocations: 103.3 kB / 0.5911 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.4016, allocations: 86.55 kB / 0.5912 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008562/0.4024, allocations: 0.5469 MB / 0.5917 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.061e-05/0.4025, allocations: 45.03 kB / 0.5918 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.4026, allocations: 67.84 kB / 0.5918 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.4037, allocations: 0.604 MB / 0.5924 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.4038, allocations: 5.281 kB / 0.5924 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.672e-05/0.4038, allocations: 26.09 kB / 0.5924 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/0.4039, allocations: 14.28 kB / 0.5924 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009981/0.4049, allocations: 457.5 kB / 0.5929 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002952/0.4078, allocations: 2.029 MB / 0.5949 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008403/0.4087, allocations: 440.6 kB / 0.5953 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/0.4091, allocations: 237.2 kB / 0.5955 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.4092, allocations: 8.422 kB / 0.5955 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005747/0.4097, allocations: 262.6 kB / 0.5958 GB, free: 10.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.124e-06/0.4097, allocations: 0 / 0.5958 GB, free: 10.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001304/0.4111, allocations: 0.5797 MB / 0.5963 GB, free: 10.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.4111, allocations: 61.19 kB / 0.5964 GB, free: 10.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005319/0.4117, allocations: 444.4 kB / 0.5968 GB, free: 9.969 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.4117, allocations: 39.08 kB / 0.5969 GB, free: 9.926 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.412, allocations: 325.6 kB / 0.5972 GB, free: 9.641 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.4121, allocations: 165.4 kB / 0.5973 GB, free: 9.496 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.4123, allocations: 95.47 kB / 0.5974 GB, free: 9.434 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4124, allocations: 366.8 kB / 0.5978 GB, free: 9.078 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/0.4128, allocations: 168.3 kB / 0.5979 GB, free: 8.992 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.4133, allocations: 253.2 kB / 0.5982 GB, free: 8.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008491/0.4141, allocations: 451.4 kB / 0.5986 GB, free: 8.527 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4141, allocations: 5.25 kB / 0.5986 GB, free: 8.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001043/0.4152, allocations: 0.5586 MB / 0.5991 GB, free: 8.219 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.4152, allocations: 32.3 kB / 0.5992 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.4153, allocations: 6.578 kB / 0.5992 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.4153, allocations: 3.938 kB / 0.5992 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.4158, allocations: 113.5 kB / 0.5993 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.4158, allocations: 9.703 kB / 0.5993 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.4161, allocations: 53.3 kB / 0.5994 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.4161, allocations: 17.97 kB / 0.5994 GB, free: 8.113 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002283/0.4164, allocations: 210.8 kB / 0.5996 GB, free: 7.934 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-05/0.4165, allocations: 57.41 kB / 0.5996 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.4166, allocations: 66.03 kB / 0.5997 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.4166, allocations: 5.5 kB / 0.5997 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.4166, allocations: 3.984 kB / 0.5997 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.4166, allocations: 0 / 0.5997 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.4184, allocations: 1.179 MB / 0.6009 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.4184, allocations: 4 kB / 0.6009 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004659/0.4189, allocations: 92.94 kB / 0.6009 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4189, allocations: 1.281 kB / 0.6009 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.419, allocations: 10.69 kB / 0.601 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.419, allocations: 2.656 kB / 0.601 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.419, allocations: 0 / 0.601 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.4203, allocations: 0.7655 MB / 0.6017 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.4204, allocations: 176.3 kB / 0.6019 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/0.4205, allocations: 11.62 kB / 0.6019 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.4208, allocations: 18.02 kB / 0.6019 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.674e-05/0.4209, allocations: 40.97 kB / 0.6019 GB, free: 6.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.4209, allocations: 16.23 kB / 0.602 GB, free: 6.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003023/0.4212, allocations: 310.5 kB / 0.6023 GB, free: 6.078 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4212, allocations: 1.25 kB / 0.6023 GB, free: 6.078 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004411/0.4217, allocations: 141.1 kB / 0.6024 GB, free: 6.039 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001523/0.4232, allocations: 1.315 MB / 0.6037 GB, free: 5.043 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.4242, allocations: 0.4967 MB / 0.6042 GB, free: 4.773 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4243, allocations: 8 kB / 0.6042 GB, free: 4.766 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.4247, allocations: 215 kB / 0.6044 GB, free: 4.672 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007388/0.4254, allocations: 156.1 kB / 0.6045 GB, free: 4.594 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00699/0.4324, allocations: 4.882 MB / 0.6093 GB, free: 1.258 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.4329, allocations: 0.8859 MB / 0.6102 GB, free: 492 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003047/0.4332, allocations: 64.45 kB / 0.6102 GB, free: 460 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.4334, allocations: 218 kB / 0.6104 GB, free: 272 kB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4335, allocations: 1.062 kB / 0.6104 GB, free: 272 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2618/0.6953, allocations: 11.1 MB / 0.6213 GB, free: 6.938 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.646, allocations: 5.984 kB / 0.6213 GB, free: 6.934 MB / 462.1 MB (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)