Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.665/2.665, allocations: 284.9 MB / 292.4 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001472, allocations: 192.8 kB / 360.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.2 MB / 0.6191 GB, free: 12.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 85.55 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.202e-05, allocations: 4 kB / 0.8508 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7918/0.7919, allocations: 115.3 MB / 0.9634 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2476/1.04, allocations: 145.2 MB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/1.04, allocations: 75.95 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.07876/1.119, allocations: 16.81 MB / 1.122 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.523e-06/1.119, allocations: 0 / 1.122 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.421e-05/1.119, allocations: 20 kB / 1.122 GB, free: 10.5 MB / 0.7292 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.002518/1.121, allocations: 0.943 MB / 1.123 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/1.121, allocations: 12.03 kB / 1.123 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000372/1.122, allocations: 98.83 kB / 1.123 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/1.123, allocations: 0.5862 MB / 1.123 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/1.124, allocations: 80.7 kB / 1.123 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/1.124, allocations: 32 kB / 1.123 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001093/1.125, allocations: 346.6 kB / 1.124 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/1.126, allocations: 0.5102 MB / 1.124 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/1.126, allocations: 3.75 kB / 1.124 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-05/1.126, allocations: 7.953 kB / 1.124 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/1.126, allocations: 16 kB / 1.124 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004827/1.131, allocations: 2.098 MB / 1.126 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/1.133, allocations: 441.6 kB / 1.127 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004361/1.133, allocations: 156.9 kB / 1.127 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.527e-05/1.133, allocations: 4 kB / 1.127 GB, free: 4.949 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006575/1.134, allocations: 240.9 kB / 1.127 GB, free: 4.703 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 3.737e-06/1.134, allocations: 4 kB / 1.127 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.001191/1.135, allocations: 381.4 kB / 1.128 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.135, allocations: 191.9 kB / 1.128 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009069/1.136, allocations: 467.8 kB / 1.128 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/1.136, allocations: 25.7 kB / 1.128 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004125/1.137, allocations: 376.6 kB / 1.129 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/1.137, allocations: 153.8 kB / 1.129 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/1.137, allocations: 0 / 1.129 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002031/1.137, allocations: 374.8 kB / 1.129 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/1.138, allocations: 141.1 kB / 1.129 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005779/1.138, allocations: 267.3 kB / 1.129 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000491/1.139, allocations: 172.7 kB / 1.13 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/1.139, allocations: 0 / 1.13 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001447/1.14, allocations: 479.1 kB / 1.13 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004709/1.141, allocations: 0.9909 MB / 1.131 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/1.141, allocations: 4 kB / 1.131 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.911e-05/1.141, allocations: 7.984 kB / 1.131 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/1.142, allocations: 127.8 kB / 1.131 GB, free: 412 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/1.142, allocations: 4 kB / 1.131 GB, free: 408 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009476/1.143, allocations: 72.64 kB / 1.131 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.52e-05/1.143, allocations: 20 kB / 1.131 GB, free: 316 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/1.143, allocations: 4 kB / 1.131 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001153/1.144, allocations: 378.3 kB / 1.132 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/1.144, allocations: 320 / 1.132 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/1.144, allocations: 12 kB / 1.132 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009161/1.145, allocations: 115.8 kB / 1.132 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/1.145, allocations: 9.266 kB / 1.132 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008994/1.146, allocations: 59.59 kB / 1.132 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.439e-05/1.146, allocations: 23.98 kB / 1.132 GB, free: 15.71 MB / 0.7448 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 () * 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.0002462/1.146, allocations: 122.5 kB / 1.132 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001075/1.148, allocations: 388.4 kB / 1.132 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/1.148, allocations: 71.16 kB / 1.132 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/1.148, allocations: 74.88 kB / 1.132 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/1.148, allocations: 4 kB / 1.132 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.148, allocations: 0 / 1.132 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/1.148, allocations: 4 kB / 1.132 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/1.149, allocations: 0.5794 MB / 1.133 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/1.149, allocations: 0 / 1.133 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/1.15, allocations: 95.88 kB / 1.133 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/1.15, allocations: 4 kB / 1.133 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-05/1.151, allocations: 4.125 kB / 1.133 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/1.151, allocations: 8 kB / 1.133 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/1.151, allocations: 7.938 kB / 1.133 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/1.152, allocations: 0.6186 MB / 1.134 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/1.153, allocations: 196.1 kB / 1.134 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/1.153, allocations: 4 kB / 1.134 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/1.154, allocations: 55.94 kB / 1.134 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/1.154, allocations: 35.89 kB / 1.134 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.331e-05/1.154, allocations: 23.94 kB / 1.134 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007316/1.155, allocations: 359.2 kB / 1.134 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.41e-07/1.155, allocations: 0 / 1.134 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001129/1.156, allocations: 223.1 kB / 1.135 GB, free: 12.79 MB / 0.7448 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) * 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.002078/1.158, allocations: 1.171 MB / 1.136 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00175/1.16, allocations: 0.6989 MB / 1.136 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.16, allocations: 12 kB / 1.136 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004842/1.161, allocations: 183.6 kB / 1.137 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/1.162, allocations: 162.3 kB / 1.137 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/1.165, allocations: 0.9657 MB / 1.138 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006399/1.166, allocations: 0.9384 MB / 1.139 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001005/1.167, allocations: 136.6 kB / 1.139 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005339/1.168, allocations: 263.4 kB / 1.139 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of SimCode: time 1.292e-06/1.168, allocations: 0 / 1.139 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07544/1.243, allocations: 13.69 MB / 1.152 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003148/1.243, allocations: 136.4 kB / 1.153 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.891/4.135, allocations: 4 kB / 1.153 GB, free: 10.55 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)