Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.37/1.37, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 185 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.911/1.911, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008528/0.0008527, allocations: 89.77 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 9.125 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2056, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1675/0.3731, allocations: 139.9 MB / 1.037 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.3734, allocations: 75.97 kB / 1.037 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04736/0.4207, allocations: 16.96 MB / 1.053 GB, free: 2.738 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4208, allocations: 0 / 1.053 GB, free: 2.738 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.765e-05/0.4209, allocations: 23.94 kB / 1.053 GB, free: 2.715 MB / 0.698 GB 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.002414/0.4233, allocations: 1.071 MB / 1.054 GB, free: 1.586 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.4234, allocations: 15.97 kB / 1.054 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001999/0.4236, allocations: 90.52 kB / 1.055 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.4238, allocations: 102.8 kB / 1.055 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.4251, allocations: 0.5862 MB / 1.055 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.4252, allocations: 100.4 kB / 1.055 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.662e-05/0.4253, allocations: 52 kB / 1.055 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4561/0.8814, allocations: 0.6487 MB / 1.056 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/0.8815, allocations: 3.844 kB / 1.056 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.8817, allocations: 28.64 kB / 1.056 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.8817, allocations: 13.81 kB / 1.056 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.8832, allocations: 498.3 kB / 1.057 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003272/0.8865, allocations: 2.214 MB / 1.059 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.8879, allocations: 0.5952 MB / 1.059 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.218e-05/0.888, allocations: 7.875 kB / 1.059 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008771/0.8889, allocations: 328 kB / 1.06 GB, free: 144.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 3.516e-06/0.8889, allocations: 0 / 1.06 GB, free: 144.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.001763/0.8907, allocations: 0.7117 MB / 1.06 GB, free: 144.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.8908, allocations: 195 kB / 1.06 GB, free: 143.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008865/0.8917, allocations: 0.5424 MB / 1.061 GB, free: 143.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.8918, allocations: 38.33 kB / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004381/0.8923, allocations: 359.5 kB / 1.061 GB, free: 143.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.8924, allocations: 161.8 kB / 1.062 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.8925, allocations: 6.938 kB / 1.062 GB, free: 143.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.8926, allocations: 328.2 kB / 1.062 GB, free: 143.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/0.8931, allocations: 208.3 kB / 1.062 GB, free: 143.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005612/0.8937, allocations: 344.8 kB / 1.062 GB, free: 143.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005147/0.8942, allocations: 264.3 kB / 1.063 GB, free: 143.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.8942, allocations: 0 / 1.063 GB, free: 143.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001281/0.8955, allocations: 0.6609 MB / 1.063 GB, free: 143 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002563/0.8958, allocations: 0.9931 MB / 1.064 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.8958, allocations: 7 kB / 1.064 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.8958, allocations: 6 kB / 1.064 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005203/0.8964, allocations: 116.9 kB / 1.064 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.8964, allocations: 8.578 kB / 1.064 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005138/0.8969, allocations: 86.73 kB / 1.064 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/0.8969, allocations: 20.81 kB / 1.064 GB, free: 141.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/0.897, allocations: 2.969 kB / 1.064 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00103/0.898, allocations: 0.5526 MB / 1.065 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.898, allocations: 3.969 kB / 1.065 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.665e-06/0.898, allocations: 6.031 kB / 1.065 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/0.8985, allocations: 112.7 kB / 1.065 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.8985, allocations: 13 kB / 1.065 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/0.899, allocations: 71.09 kB / 1.065 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.899, allocations: 20.03 kB / 1.065 GB, free: 141.8 MB / 0.698 GB 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.0004027/0.8995, allocations: 275.2 kB / 1.065 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.956e-05/0.8996, allocations: 85.03 kB / 1.066 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.8997, allocations: 76.95 kB / 1.066 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.8997, allocations: 6.406 kB / 1.066 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.8998, allocations: 2.156 kB / 1.066 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.8998, allocations: 2.484 kB / 1.066 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008272/0.9006, allocations: 0.6525 MB / 1.066 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9006, allocations: 0 / 1.066 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005472/0.9012, allocations: 103.5 kB / 1.066 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.9012, allocations: 1.719 kB / 1.066 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.9012, allocations: 11.7 kB / 1.066 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.9012, allocations: 3.047 kB / 1.066 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9012, allocations: 1 kB / 1.066 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.9031, allocations: 0.836 MB / 1.067 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.9034, allocations: 207.3 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.592e-05/0.9035, allocations: 13.05 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005491/0.9041, allocations: 65.83 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.9042, allocations: 31.66 kB / 1.068 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/0.9043, allocations: 18.17 kB / 1.068 GB, free: 141.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006559/0.9049, allocations: 433.2 kB / 1.068 GB, free: 141 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9049, allocations: 0 / 1.068 GB, free: 141 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008834/0.9058, allocations: 234.4 kB / 1.068 GB, free: 141 MB / 0.698 GB 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.002243/0.9081, allocations: 1.398 MB / 1.07 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002095/0.9102, allocations: 0.8896 MB / 1.07 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.9102, allocations: 0.8438 kB / 1.07 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005705/0.9108, allocations: 250.7 kB / 1.071 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.9118, allocations: 172.7 kB / 1.071 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.9152, allocations: 3.309 MB / 1.074 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.9157, allocations: 0.9357 MB / 1.075 GB, free: 136.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005559/0.9163, allocations: 94.69 kB / 1.075 GB, free: 136.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003753/0.9167, allocations: 264.5 kB / 1.075 GB, free: 136.9 MB / 0.698 GB Notification: Performance of SimCode: time 8.01e-07/0.9167, allocations: 0 / 1.075 GB, free: 136.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.9514, allocations: 13.72 MB / 1.089 GB, free: 135.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/0.9516, allocations: 177.7 kB / 1.089 GB, free: 135.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.396/3.347, allocations: 0 / 1.089 GB, free: 135.1 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)