Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.765/1.765, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001549/0.001549, allocations: 173.1 kB / 377.1 MB, free: 1.52 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.893/1.893, allocations: 205.4 MB / 0.6366 GB, free: 8.609 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.0009445/0.0009447, allocations: 86.17 kB / 0.7509 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004234/0.0004232, allocations: 8 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2996, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7988/1.098, allocations: 139.9 MB / 1.125 GB, free: 34.84 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003557/1.099, allocations: 75.81 kB / 1.125 GB, free: 34.78 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01683/1.116, allocations: 6.544 MB / 1.132 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.573e-06/1.116, allocations: 3.938 kB / 1.132 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.176e-05/1.116, allocations: 8 kB / 1.132 GB, free: 30.32 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001413/1.117, allocations: 0.6753 MB / 1.132 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/1.117, allocations: 12.03 kB / 1.132 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001689/1.117, allocations: 71 kB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/1.118, allocations: 54.3 kB / 1.132 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009219/1.119, allocations: 364.4 kB / 1.133 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/1.119, allocations: 32.09 kB / 1.133 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.938e-05/1.119, allocations: 44.56 kB / 1.133 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007383/1.119, allocations: 354.1 kB / 1.133 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/1.119, allocations: 3.938 kB / 1.133 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/1.12, allocations: 16 kB / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/1.12, allocations: 12.84 kB / 1.133 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005624/1.12, allocations: 265.6 kB / 1.133 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/1.122, allocations: 1.205 MB / 1.135 GB, free: 27.47 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006204/1.123, allocations: 290.9 kB / 1.135 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/1.123, allocations: 4.984 kB / 1.135 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003516/1.123, allocations: 173.5 kB / 1.135 GB, free: 27.05 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 2.445e-06/1.123, allocations: 0 / 1.135 GB, free: 27.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22): time 0.0007286/1.124, allocations: 343.1 kB / 1.135 GB, free: 26.74 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/1.124, allocations: 133.9 kB / 1.135 GB, free: 26.58 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004684/1.124, allocations: 340.9 kB / 1.136 GB, free: 26.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/1.124, allocations: 25.7 kB / 1.136 GB, free: 26.24 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/1.125, allocations: 232.6 kB / 1.136 GB, free: 26.03 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.879e-05/1.125, allocations: 69.73 kB / 1.136 GB, free: 25.96 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/1.125, allocations: 7.938 kB / 1.136 GB, free: 25.96 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1.125, allocations: 346.9 kB / 1.136 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/1.125, allocations: 101 kB / 1.137 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/1.125, allocations: 180.7 kB / 1.137 GB, free: 25.35 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/1.125, allocations: 113.5 kB / 1.137 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.125, allocations: 0 / 1.137 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005717/1.126, allocations: 334.7 kB / 1.137 GB, free: 24.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/1.126, allocations: 452.6 kB / 1.138 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.126, allocations: 4.562 kB / 1.138 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/1.126, allocations: 0 / 1.138 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/1.127, allocations: 72.88 kB / 1.138 GB, free: 24.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/1.127, allocations: 4.75 kB / 1.138 GB, free: 24.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/1.127, allocations: 50.12 kB / 1.138 GB, free: 24.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/1.127, allocations: 9.172 kB / 1.138 GB, free: 24.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/1.127, allocations: 6.656 kB / 1.138 GB, free: 24.34 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002979/1.127, allocations: 210.3 kB / 1.138 GB, free: 24.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/1.127, allocations: 0.5156 kB / 1.138 GB, free: 24.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-06/1.127, allocations: 4 kB / 1.138 GB, free: 24.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/1.127, allocations: 50.25 kB / 1.138 GB, free: 24.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/1.127, allocations: 0.625 kB / 1.138 GB, free: 24.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/1.128, allocations: 39.48 kB / 1.138 GB, free: 24.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/1.128, allocations: 16.64 kB / 1.138 GB, free: 24.05 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0002001/1.128, allocations: 229.9 kB / 1.138 GB, free: 23.81 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/1.128, allocations: 36.33 kB / 1.138 GB, free: 23.78 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.071e-05/1.128, allocations: 44.95 kB / 1.138 GB, free: 23.74 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/1.128, allocations: 4.703 kB / 1.138 GB, free: 23.74 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.128, allocations: 0 / 1.138 GB, free: 23.74 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/1.128, allocations: 1.969 kB / 1.138 GB, free: 23.74 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/1.129, allocations: 0.9072 MB / 1.139 GB, free: 22.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.129, allocations: 0.75 kB / 1.139 GB, free: 22.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/1.13, allocations: 55.77 kB / 1.139 GB, free: 22.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/1.13, allocations: 8.656 kB / 1.139 GB, free: 22.82 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/1.13, allocations: 4.75 kB / 1.139 GB, free: 22.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/1.13, allocations: 8.219 kB / 1.139 GB, free: 22.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.13, allocations: 0.6094 kB / 1.139 GB, free: 22.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007641/1.131, allocations: 0.6995 MB / 1.14 GB, free: 22.06 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/1.131, allocations: 116.6 kB / 1.14 GB, free: 21.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/1.131, allocations: 12.66 kB / 1.14 GB, free: 21.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/1.131, allocations: 24.69 kB / 1.14 GB, free: 21.9 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/1.131, allocations: 25 kB / 1.14 GB, free: 21.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/1.131, allocations: 9.219 kB / 1.14 GB, free: 21.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002786/1.131, allocations: 269.5 kB / 1.14 GB, free: 21.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/1.131, allocations: 0 / 1.14 GB, free: 21.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005036/1.132, allocations: 120.4 kB / 1.141 GB, free: 21.53 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.001149/1.133, allocations: 1.794 MB / 1.142 GB, free: 19.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007328/1.134, allocations: 354.8 kB / 1.143 GB, free: 19.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.134, allocations: 384 / 1.143 GB, free: 19.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002134/1.134, allocations: 122.1 kB / 1.143 GB, free: 19.28 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/1.134, allocations: 68.73 kB / 1.143 GB, free: 19.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003856/1.138, allocations: 2.775 MB / 1.146 GB, free: 16.58 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/1.139, allocations: 0.8088 MB / 1.146 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002436/1.139, allocations: 45.72 kB / 1.146 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/1.139, allocations: 136.4 kB / 1.146 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of SimCode: time 1.283e-06/1.139, allocations: 0 / 1.146 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/1.165, allocations: 6.558 MB / 1.153 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/1.165, allocations: 210.2 kB / 1.153 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.211/3.377, allocations: 0 / 1.153 GB, free: 11.65 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)