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.001563/0.001562, 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.001905/0.001906, 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.196/2.196, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8703/0.8703, allocations: 132.2 MB / 423.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004135/0.0004137, allocations: 15.94 kB / 0.5033 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8942/0.8947, allocations: 81.58 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.008872/0.9037, allocations: 3.119 MB / 0.586 GB, free: 1.758 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005268/0.9091, allocations: 1.214 MB / 0.5872 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.9104, allocations: 27.19 kB / 0.5872 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.9107, allocations: 49.83 kB / 0.5873 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.9119, allocations: 190.3 kB / 0.5875 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.9143, allocations: 469.2 kB / 0.5879 GB, free: 496 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00229/0.9166, allocations: 0.6019 MB / 0.5885 GB, free: 152 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000936/0.9176, allocations: 251.7 kB / 0.5887 GB, free: 32 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.9187, allocations: 299.9 kB / 0.589 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006756/0.9194, allocations: 257.5 kB / 0.5893 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.9195, allocations: 25.75 kB / 0.5893 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.9197, allocations: 20.16 kB / 0.5893 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.9199, allocations: 107.4 kB / 0.5894 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002538/0.9202, allocations: 138.1 kB / 0.5895 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.9219, allocations: 0.6166 MB / 0.5901 GB, free: 15.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.9219, allocations: 1.375 kB / 0.5901 GB, free: 15.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.279e-06/0.9219, allocations: 0 / 0.5901 GB, free: 15.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.959e-05/0.9219, allocations: 0 / 0.5901 GB, free: 15.42 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.004079/0.926, allocations: 1.068 MB / 0.5912 GB, free: 14.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.03e-05/0.9261, allocations: 9.344 kB / 0.5912 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002793/0.9264, allocations: 95.61 kB / 0.5913 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003864/0.9268, allocations: 93.47 kB / 0.5914 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.9289, allocations: 0.5688 MB / 0.5919 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.9292, allocations: 101.4 kB / 0.592 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.9294, allocations: 59 kB / 0.5921 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/0.9319, allocations: 0.6045 MB / 0.5927 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.9319, allocations: 3.984 kB / 0.5927 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.932, allocations: 25.41 kB / 0.5927 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.981e-05/0.9321, allocations: 13.91 kB / 0.5927 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.9339, allocations: 440.1 kB / 0.5931 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006457/0.9404, allocations: 2.134 MB / 0.5952 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/0.9429, allocations: 0.5328 MB / 0.5957 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.803e-05/0.943, allocations: 4.766 kB / 0.5957 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/0.9444, allocations: 295.5 kB / 0.596 GB, free: 11.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 6.463e-06/0.9444, allocations: 0 / 0.596 GB, free: 11.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.002898/0.9473, allocations: 0.6326 MB / 0.5966 GB, free: 11.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002052/0.9475, allocations: 87.88 kB / 0.5967 GB, free: 11.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.9495, allocations: 0.6104 MB / 0.5973 GB, free: 11.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.9496, allocations: 36.64 kB / 0.5974 GB, free: 11.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005658/0.9502, allocations: 350.2 kB / 0.5977 GB, free: 10.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/0.9505, allocations: 160.1 kB / 0.5978 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.9506, allocations: 9.312 kB / 0.5979 GB, free: 10.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002766/0.9509, allocations: 327.2 kB / 0.5982 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008203/0.9517, allocations: 186.2 kB / 0.5983 GB, free: 10.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009337/0.9526, allocations: 287.5 kB / 0.5986 GB, free: 10.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.9537, allocations: 238.4 kB / 0.5988 GB, free: 9.891 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.9537, allocations: 0.9375 kB / 0.5988 GB, free: 9.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002487/0.9562, allocations: 0.6094 MB / 0.5994 GB, free: 9.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008737/0.9571, allocations: 0.9933 MB / 0.6004 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.9571, allocations: 3.375 kB / 0.6004 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.568e-05/0.9572, allocations: 4.969 kB / 0.6004 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008678/0.958, allocations: 113 kB / 0.6005 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.738e-05/0.9581, allocations: 8.781 kB / 0.6005 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009198/0.959, allocations: 70.41 kB / 0.6006 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.782e-05/0.9591, allocations: 18.69 kB / 0.6006 GB, free: 8.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.9591, allocations: 3.656 kB / 0.6006 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001888/0.961, allocations: 0.5002 MB / 0.6011 GB, free: 8.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.9611, allocations: 3.469 kB / 0.6011 GB, free: 8.172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.9611, allocations: 9.859 kB / 0.6011 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007367/0.9618, allocations: 103.7 kB / 0.6012 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.9619, allocations: 9.531 kB / 0.6012 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007928/0.9627, allocations: 61.27 kB / 0.6013 GB, free: 8.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.9628, allocations: 21.14 kB / 0.6013 GB, free: 8.094 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008962/0.9637, allocations: 276.8 kB / 0.6016 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/0.9639, allocations: 73.78 kB / 0.6016 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.9643, allocations: 86.58 kB / 0.6017 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.9643, allocations: 12.03 kB / 0.6017 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.068e-05/0.9643, allocations: 0 / 0.6017 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.9644, allocations: 5.359 kB / 0.6017 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.9659, allocations: 0.6131 MB / 0.6023 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.966, allocations: 4.938 kB / 0.6023 GB, free: 7.223 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000794/0.9668, allocations: 94.53 kB / 0.6024 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/0.9668, allocations: 1.531 kB / 0.6024 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.494e-05/0.9669, allocations: 10.53 kB / 0.6024 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/0.9669, allocations: 10.36 kB / 0.6025 GB, free: 7.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.9669, allocations: 0 / 0.6025 GB, free: 7.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002903/0.9698, allocations: 0.7442 MB / 0.6032 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004736/0.9703, allocations: 197.3 kB / 0.6034 GB, free: 6.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.9704, allocations: 11.86 kB / 0.6034 GB, free: 6.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006311/0.9711, allocations: 41.81 kB / 0.6034 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.9713, allocations: 33.91 kB / 0.6035 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-05/0.9713, allocations: 22.7 kB / 0.6035 GB, free: 6.535 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001084/0.9724, allocations: 427.3 kB / 0.6039 GB, free: 6.289 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.9724, allocations: 0 / 0.6039 GB, free: 6.289 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001368/0.9738, allocations: 214.9 kB / 0.6041 GB, free: 6.234 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 (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.003362/0.9772, allocations: 1.298 MB / 0.6054 GB, free: 5.297 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003121/0.9804, allocations: 0.8047 MB / 0.6061 GB, free: 4.867 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/0.9804, allocations: 0 / 0.6061 GB, free: 4.867 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009818/0.9814, allocations: 228.9 kB / 0.6064 GB, free: 4.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/0.9834, allocations: 169.5 kB / 0.6065 GB, free: 4.684 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007123/0.9906, allocations: 3.293 MB / 0.6097 GB, free: 1.836 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.9918, allocations: 0.9338 MB / 0.6107 GB, free: 1.023 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009411/0.9927, allocations: 90.09 kB / 0.6107 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006607/0.9934, allocations: 260.9 kB / 0.611 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of SimCode: time 1.993e-06/0.9934, allocations: 0 / 0.611 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7942/1.788, allocations: 12.8 MB / 0.6235 GB, free: 6.598 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004027/1.788, allocations: 160.8 kB / 0.6236 GB, free: 6.359 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.818/5.606, allocations: 0 / 0.6236 GB, free: 6.359 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/linux/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) Environment - environmentSimulation: