Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 2.237/2.237, allocations: 285.6 MB / 293.1 MB, free: 10.32 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.001679/0.00168, allocations: 168.9 kB / 361.4 MB, free: 6.887 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.437/2.437, allocations: 205.2 MB / 0.62 GB, free: 11.68 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.0009819/0.0009817, allocations: 94.91 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.06e-05/2.075e-05, allocations: 0 / 0.8518 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.853/0.8531, allocations: 115.3 MB / 0.9644 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2427/1.096, allocations: 145.4 MB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003812/1.096, allocations: 77.36 kB / 1.107 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06591/1.162, allocations: 16.82 MB / 1.123 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.959e-06/1.162, allocations: 0 / 1.123 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.254e-05/1.162, allocations: 23.94 kB / 1.123 GB, free: 9.52 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.001987/1.164, allocations: 0.9353 MB / 1.124 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/1.165, allocations: 15.41 kB / 1.124 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/1.165, allocations: 94.83 kB / 1.124 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/1.166, allocations: 0.5901 MB / 1.125 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/1.166, allocations: 80.72 kB / 1.125 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.575e-05/1.166, allocations: 43.98 kB / 1.125 GB, free: 7.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007166/1.167, allocations: 330.6 kB / 1.125 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008622/1.168, allocations: 0.5102 MB / 1.125 GB, free: 6.773 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/1.168, allocations: 0 / 1.125 GB, free: 6.773 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/1.168, allocations: 7.984 kB / 1.125 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/1.168, allocations: 15.95 kB / 1.126 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/1.171, allocations: 2.106 MB / 1.128 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008848/1.172, allocations: 433.6 kB / 1.128 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/1.172, allocations: 160.8 kB / 1.128 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.937e-05/1.172, allocations: 8 kB / 1.128 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005009/1.173, allocations: 234.3 kB / 1.128 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 2.935e-06/1.173, allocations: 4 kB / 1.128 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.0008761/1.174, allocations: 381.4 kB / 1.129 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/1.174, allocations: 191.9 kB / 1.129 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006868/1.174, allocations: 471.8 kB / 1.129 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.557e-05/1.174, allocations: 29.7 kB / 1.129 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003424/1.175, allocations: 376.6 kB / 1.13 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/1.175, allocations: 145.8 kB / 1.13 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/1.175, allocations: 0 / 1.13 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002364/1.175, allocations: 382.8 kB / 1.13 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/1.176, allocations: 137.1 kB / 1.13 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/1.176, allocations: 269.6 kB / 1.131 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/1.176, allocations: 172.7 kB / 1.131 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.176, allocations: 0 / 1.131 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008411/1.177, allocations: 475.1 kB / 1.131 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006798/1.178, allocations: 0.9947 MB / 1.132 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.178, allocations: 4 kB / 1.132 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/1.178, allocations: 4 kB / 1.132 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/1.178, allocations: 119.8 kB / 1.132 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/1.179, allocations: 8 kB / 1.132 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000506/1.179, allocations: 70.14 kB / 1.132 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/1.179, allocations: 21.75 kB / 1.132 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/1.179, allocations: 4 kB / 1.132 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006737/1.18, allocations: 386.2 kB / 1.133 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/1.18, allocations: 4 kB / 1.133 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.575e-06/1.18, allocations: 4 kB / 1.133 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/1.18, allocations: 115.8 kB / 1.133 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/1.18, allocations: 8.297 kB / 1.133 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/1.181, allocations: 67.55 kB / 1.133 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/1.181, allocations: 16 kB / 1.133 GB, free: 14.74 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.0001978/1.181, allocations: 121.8 kB / 1.133 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006422/1.182, allocations: 388.4 kB / 1.134 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.854e-05/1.182, allocations: 71.16 kB / 1.134 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/1.182, allocations: 66.94 kB / 1.134 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/1.182, allocations: 11.95 kB / 1.134 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.182, allocations: 3.938 kB / 1.134 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/1.182, allocations: 5.578 kB / 1.134 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000736/1.183, allocations: 0.5756 MB / 1.134 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/1.183, allocations: 2 kB / 1.134 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005149/1.183, allocations: 103.9 kB / 1.134 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.183, allocations: 0 / 1.134 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/1.183, allocations: 8 kB / 1.134 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.183, allocations: 0 / 1.134 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.183, allocations: 0 / 1.134 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009737/1.184, allocations: 0.6149 MB / 1.135 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/1.185, allocations: 208.1 kB / 1.135 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.22e-05/1.185, allocations: 4 kB / 1.135 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005015/1.185, allocations: 51.95 kB / 1.135 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.874e-05/1.185, allocations: 31.95 kB / 1.135 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/1.185, allocations: 19.98 kB / 1.135 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004673/1.186, allocations: 367.2 kB / 1.136 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.2e-07/1.186, allocations: 0 / 1.136 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008193/1.187, allocations: 219.1 kB / 1.136 GB, free: 11.81 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.001517/1.188, allocations: 1.185 MB / 1.137 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001408/1.19, allocations: 0.7049 MB / 1.138 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/1.19, allocations: 0 / 1.138 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003869/1.19, allocations: 184.2 kB / 1.138 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/1.191, allocations: 163.1 kB / 1.138 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/1.194, allocations: 0.9775 MB / 1.139 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006443/1.194, allocations: 0.9308 MB / 1.14 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006444/1.195, allocations: 129.4 kB / 1.14 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/1.195, allocations: 263.3 kB / 1.14 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of SimCode: time 1.733e-06/1.195, allocations: 0 / 1.14 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04327/1.239, allocations: 13.7 MB / 1.154 GB, free: 9.762 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002811/1.239, allocations: 152.3 kB / 1.154 GB, free: 9.559 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.329/4.568, allocations: 1.312 kB / 1.154 GB, free: 9.559 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)