Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.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.LimPID,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPID,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPID",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.001356/0.001356, 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.001437/0.001437, allocations: 195 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7396/0.7396, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 62.41 kB / 0.5019 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3815, allocations: 80.21 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.004477/0.386, allocations: 3.702 MB / 0.5838 GB, free: 1.914 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.3885, allocations: 1.33 MB / 0.5851 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004289/0.3889, allocations: 25.72 kB / 0.5851 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.3892, allocations: 131.1 kB / 0.5852 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004777/0.3898, allocations: 175.5 kB / 0.5854 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.3909, allocations: 0.5713 MB / 0.586 GB, free: 416 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009894/0.3919, allocations: 0.9512 MB / 0.5869 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005381/0.3924, allocations: 361.1 kB / 0.5872 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004477/0.3929, allocations: 360 kB / 0.5876 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003785/0.3933, allocations: 351.2 kB / 0.5879 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.3934, allocations: 77.31 kB / 0.588 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.3936, allocations: 82 kB / 0.5881 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.3937, allocations: 182.6 kB / 0.5883 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003247/0.3941, allocations: 383.9 kB / 0.5886 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009628/0.395, allocations: 0.8514 MB / 0.5894 GB, free: 14.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.395, allocations: 0.6094 kB / 0.5894 GB, free: 14.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.395, allocations: 0.8125 kB / 0.5895 GB, free: 14.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.3951, allocations: 0 / 0.5895 GB, free: 14.54 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002138/0.3972, allocations: 1.183 MB / 0.5906 GB, free: 13.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3973, allocations: 9.562 kB / 0.5906 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.3974, allocations: 92.81 kB / 0.5907 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.3976, allocations: 97.27 kB / 0.5908 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009731/0.3985, allocations: 0.592 MB / 0.5914 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.3987, allocations: 105.5 kB / 0.5915 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.704e-05/0.3988, allocations: 55.28 kB / 0.5915 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.3999, allocations: 0.5993 MB / 0.5921 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3999, allocations: 0 / 0.5921 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.625e-05/0.4, allocations: 21.81 kB / 0.5921 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.4, allocations: 13.22 kB / 0.5921 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.4011, allocations: 430.5 kB / 0.5926 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003014/0.4041, allocations: 2.109 MB / 0.5946 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.4053, allocations: 0.4948 MB / 0.5951 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004749/0.4058, allocations: 224.3 kB / 0.5953 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.4059, allocations: 6.438 kB / 0.5953 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000694/0.4066, allocations: 291.9 kB / 0.5956 GB, free: 10.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 2.474e-06/0.4066, allocations: 1.531 kB / 0.5956 GB, free: 10.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001451/0.4081, allocations: 0.5994 MB / 0.5962 GB, free: 10.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/0.4081, allocations: 98.19 kB / 0.5963 GB, free: 10.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007103/0.4089, allocations: 0.6116 MB / 0.5969 GB, free: 9.918 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.4089, allocations: 32.08 kB / 0.5969 GB, free: 9.883 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.4092, allocations: 358.5 kB / 0.5972 GB, free: 9.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.4093, allocations: 156.6 kB / 0.5974 GB, free: 9.434 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.4095, allocations: 98.8 kB / 0.5975 GB, free: 9.367 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.818e-05/0.4096, allocations: 323.3 kB / 0.5978 GB, free: 9.051 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004363/0.41, allocations: 185 kB / 0.598 GB, free: 8.953 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005036/0.4105, allocations: 276.6 kB / 0.5982 GB, free: 8.758 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009051/0.4114, allocations: 485.7 kB / 0.5987 GB, free: 8.438 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.4115, allocations: 1.344 kB / 0.5987 GB, free: 8.438 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001183/0.4126, allocations: 0.6004 MB / 0.5993 GB, free: 8.109 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.4127, allocations: 34.11 kB / 0.5993 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4127, allocations: 2.188 kB / 0.5993 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.4127, allocations: 4.781 kB / 0.5993 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.4132, allocations: 108.8 kB / 0.5994 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.4132, allocations: 4.875 kB / 0.5994 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.4136, allocations: 64.44 kB / 0.5995 GB, free: 8.008 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.4137, allocations: 22.69 kB / 0.5995 GB, free: 8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005819/0.4143, allocations: 313.1 kB / 0.5998 GB, free: 7.797 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004892/0.4148, allocations: 276.3 kB / 0.6001 GB, free: 7.598 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008357/0.4156, allocations: 449.2 kB / 0.6005 GB, free: 7.297 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.4157, allocations: 1.125 kB / 0.6005 GB, free: 7.297 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001127/0.4168, allocations: 0.579 MB / 0.6011 GB, free: 6.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.4168, allocations: 33.3 kB / 0.6011 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.4168, allocations: 2.531 kB / 0.6011 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.4169, allocations: 9.188 kB / 0.6011 GB, free: 6.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/0.4173, allocations: 106.2 kB / 0.6012 GB, free: 6.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4173, allocations: 3.875 kB / 0.6012 GB, free: 6.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.4177, allocations: 54.12 kB / 0.6013 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.4178, allocations: 17.06 kB / 0.6013 GB, free: 6.879 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0001975/0.418, allocations: 214.1 kB / 0.6015 GB, free: 6.672 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.4181, allocations: 78 kB / 0.6016 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.4182, allocations: 81.58 kB / 0.6017 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.4182, allocations: 5.438 kB / 0.6017 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.4183, allocations: 0 / 0.6017 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.4183, allocations: 4 kB / 0.6017 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007116/0.419, allocations: 0.6232 MB / 0.6023 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.419, allocations: 0 / 0.6023 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/0.4195, allocations: 81.08 kB / 0.6023 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4195, allocations: 1.719 kB / 0.6023 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.487e-05/0.4195, allocations: 19.41 kB / 0.6024 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.4195, allocations: 5.234 kB / 0.6024 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4195, allocations: 1.594 kB / 0.6024 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.421, allocations: 0.7338 MB / 0.6031 GB, free: 5.598 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/0.4213, allocations: 184.3 kB / 0.6033 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.048e-05/0.4214, allocations: 12.3 kB / 0.6033 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/0.4218, allocations: 32.78 kB / 0.6033 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.409e-05/0.4219, allocations: 30.14 kB / 0.6033 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.4219, allocations: 18.08 kB / 0.6034 GB, free: 5.375 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004917/0.4224, allocations: 434.2 kB / 0.6038 GB, free: 5.129 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4224, allocations: 0 / 0.6038 GB, free: 5.129 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006458/0.4231, allocations: 222.9 kB / 0.604 GB, free: 5.066 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.001741/0.4248, allocations: 1.28 MB / 0.6052 GB, free: 4.117 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.4266, allocations: 0.8036 MB / 0.606 GB, free: 3.684 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.4266, allocations: 3.938 kB / 0.606 GB, free: 3.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004802/0.4271, allocations: 220.1 kB / 0.6062 GB, free: 3.582 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009106/0.428, allocations: 206.6 kB / 0.6064 GB, free: 3.477 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008616/0.4366, allocations: 5.618 MB / 0.6119 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/0.4372, allocations: 0.9155 MB / 0.6128 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004683/0.4376, allocations: 90.06 kB / 0.6129 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/0.438, allocations: 264.8 kB / 0.6131 GB, free: 14.78 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.438, allocations: 0 / 0.6131 GB, free: 14.78 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1624/0.6004, allocations: 13.82 MB / 0.6266 GB, free: 1.285 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.475, allocations: 7.953 kB / 0.6266 GB, free: 1.281 MB / 462.1 MB (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_LimPID.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)