Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",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 1.634/1.634, allocations: 288.2 MB / 303.2 MB, free: 8.227 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.001139/0.001139, allocations: 189.5 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008859/0.0008856, allocations: 86.86 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004719/0.0004722, allocations: 13.94 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2629, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.85/1.113, allocations: 139 MB / 1.115 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/1.113, allocations: 75.45 kB / 1.115 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01562/1.129, allocations: 6.426 MB / 1.122 GB, free: 31.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.737e-06/1.129, allocations: 0 / 1.122 GB, free: 31.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.375e-05/1.129, allocations: 11.5 kB / 1.122 GB, free: 31.84 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001133/1.13, allocations: 0.6961 MB / 1.122 GB, free: 31.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.13, allocations: 11.67 kB / 1.122 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/1.13, allocations: 78.41 kB / 1.122 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.873e-05/1.13, allocations: 54.44 kB / 1.122 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005242/1.131, allocations: 370.4 kB / 1.123 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/1.131, allocations: 28.59 kB / 1.123 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/1.131, allocations: 35.97 kB / 1.123 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005947/1.132, allocations: 397 kB / 1.123 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/1.132, allocations: 7.938 kB / 1.123 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/1.132, allocations: 14.03 kB / 1.123 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/1.132, allocations: 11.59 kB / 1.123 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/1.132, allocations: 295.6 kB / 1.123 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/1.134, allocations: 1.288 MB / 1.125 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/1.134, allocations: 302.2 kB / 1.125 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/1.134, allocations: 3.75 kB / 1.125 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003316/1.135, allocations: 190.1 kB / 1.125 GB, free: 30.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.994e-06/1.135, allocations: 0 / 1.125 GB, free: 30.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.0006721/1.136, allocations: 368 kB / 1.126 GB, free: 30.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/1.136, allocations: 140.3 kB / 1.126 GB, free: 30.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/1.136, allocations: 357 kB / 1.126 GB, free: 29.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/1.136, allocations: 28.77 kB / 1.126 GB, free: 29.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/1.136, allocations: 231.8 kB / 1.126 GB, free: 29.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/1.136, allocations: 87.14 kB / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/1.136, allocations: 3.75 kB / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.136, allocations: 351.3 kB / 1.127 GB, free: 29.42 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/1.137, allocations: 106.4 kB / 1.127 GB, free: 29.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/1.137, allocations: 189.2 kB / 1.127 GB, free: 29.33 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/1.137, allocations: 127.4 kB / 1.127 GB, free: 29.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.137, allocations: 0 / 1.127 GB, free: 29.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005097/1.138, allocations: 355.6 kB / 1.127 GB, free: 29.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002136/1.138, allocations: 0.5197 MB / 1.128 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/1.138, allocations: 0 / 1.128 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/1.138, allocations: 9.953 kB / 1.128 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/1.138, allocations: 64.95 kB / 1.128 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/1.138, allocations: 14.19 kB / 1.128 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/1.138, allocations: 54.22 kB / 1.128 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/1.138, allocations: 7.719 kB / 1.128 GB, free: 28.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/1.138, allocations: 3.875 kB / 1.128 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000285/1.139, allocations: 229 kB / 1.128 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-06/1.139, allocations: 4.125 kB / 1.128 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-06/1.139, allocations: 3.938 kB / 1.128 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/1.139, allocations: 51.05 kB / 1.128 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/1.139, allocations: 3.875 kB / 1.128 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/1.139, allocations: 42.3 kB / 1.128 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/1.139, allocations: 11 kB / 1.128 GB, free: 28.62 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * 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.0002373/1.139, allocations: 236.1 kB / 1.129 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/1.139, allocations: 46.66 kB / 1.129 GB, free: 28.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.138e-05/1.139, allocations: 44.19 kB / 1.129 GB, free: 28.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/1.139, allocations: 3.844 kB / 1.129 GB, free: 28.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.139, allocations: 2.531 kB / 1.129 GB, free: 28.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.139, allocations: 0 / 1.129 GB, free: 28.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/1.141, allocations: 0.9539 MB / 1.13 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.141, allocations: 0 / 1.13 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/1.141, allocations: 56.31 kB / 1.13 GB, free: 27.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.141, allocations: 3.906 kB / 1.13 GB, free: 27.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/1.141, allocations: 10.05 kB / 1.13 GB, free: 27.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.141, allocations: 3.875 kB / 1.13 GB, free: 27.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/1.141, allocations: 7.812 kB / 1.13 GB, free: 27.92 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007948/1.142, allocations: 0.7377 MB / 1.13 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.587e-05/1.142, allocations: 124.8 kB / 1.131 GB, free: 27.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/1.142, allocations: 7.797 kB / 1.131 GB, free: 27.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/1.142, allocations: 28.55 kB / 1.131 GB, free: 27.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/1.142, allocations: 21.86 kB / 1.131 GB, free: 27.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/1.142, allocations: 14.95 kB / 1.131 GB, free: 27.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002548/1.142, allocations: 284.5 kB / 1.131 GB, free: 27.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.142, allocations: 0 / 1.131 GB, free: 27.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004811/1.143, allocations: 125.8 kB / 1.131 GB, free: 27.21 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001462/1.144, allocations: 1.908 MB / 1.133 GB, free: 25.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007719/1.145, allocations: 385.1 kB / 1.133 GB, free: 25.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.145, allocations: 0 / 1.133 GB, free: 25.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/1.145, allocations: 127.5 kB / 1.133 GB, free: 25.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/1.146, allocations: 73.41 kB / 1.133 GB, free: 25.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003733/1.15, allocations: 3.058 MB / 1.136 GB, free: 23.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/1.15, allocations: 0.8159 MB / 1.137 GB, free: 23.08 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002289/1.15, allocations: 46.2 kB / 1.137 GB, free: 23.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/1.151, allocations: 142 kB / 1.137 GB, free: 23.05 MB / 0.698 GB Notification: Performance of SimCode: time 5.32e-06/1.151, allocations: 0 / 1.137 GB, free: 23.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/1.168, allocations: 6.853 MB / 1.144 GB, free: 19.93 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/1.169, allocations: 201.1 kB / 1.144 GB, free: 19.69 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.296/3.465, allocations: 0 / 1.144 GB, free: 19.69 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)