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.78/1.78, allocations: 289.7 MB / 302.2 MB, free: 2.094 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.001166/0.001166, allocations: 180.1 kB / 371.6 MB, free: 3.422 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.567/1.567, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.0009346/0.0009345, allocations: 94.08 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.066e-05/6.092e-05, allocations: 4 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2693, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8719/1.141, allocations: 139.9 MB / 1.116 GB, free: 44.11 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/1.142, allocations: 75.25 kB / 1.117 GB, free: 44.08 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01571/1.157, allocations: 6.529 MB / 1.123 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.306e-06/1.157, allocations: 0 / 1.123 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.622e-05/1.157, allocations: 11.39 kB / 1.123 GB, free: 40.63 MB / 0.7448 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.0007938/1.158, allocations: 0.6043 MB / 1.124 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/1.158, allocations: 12.03 kB / 1.124 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.49e-05/1.158, allocations: 68.77 kB / 1.124 GB, free: 40 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.59e-05/1.159, allocations: 53.16 kB / 1.124 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000575/1.159, allocations: 375 kB / 1.124 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/1.159, allocations: 27.72 kB / 1.124 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/1.159, allocations: 35.12 kB / 1.124 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/1.16, allocations: 328.5 kB / 1.124 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/1.16, allocations: 1.219 kB / 1.124 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/1.16, allocations: 18.83 kB / 1.124 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/1.16, allocations: 8 kB / 1.124 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/1.16, allocations: 217 kB / 1.125 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/1.162, allocations: 1.203 MB / 1.126 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/1.162, allocations: 210.5 kB / 1.126 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/1.162, allocations: 93.27 kB / 1.126 GB, free: 38.24 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/1.162, allocations: 8.188 kB / 1.126 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/1.162, allocations: 148.5 kB / 1.126 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/1.162, allocations: 0 / 1.126 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.0003733/1.163, allocations: 202.9 kB / 1.126 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/1.163, allocations: 136.5 kB / 1.127 GB, free: 37.81 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/1.163, allocations: 332.4 kB / 1.127 GB, free: 37.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/1.163, allocations: 34.17 kB / 1.127 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/1.163, allocations: 227.7 kB / 1.127 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/1.163, allocations: 70.38 kB / 1.127 GB, free: 37.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/1.163, allocations: 6.938 kB / 1.127 GB, free: 37.33 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/1.163, allocations: 350.8 kB / 1.128 GB, free: 37.01 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/1.164, allocations: 73.56 kB / 1.128 GB, free: 36.97 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/1.164, allocations: 154.4 kB / 1.128 GB, free: 36.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/1.164, allocations: 84.66 kB / 1.128 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/1.164, allocations: 3.953 kB / 1.128 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004101/1.164, allocations: 273.7 kB / 1.128 GB, free: 36.6 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/1.164, allocations: 450.3 kB / 1.129 GB, free: 36.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.165, allocations: 0.9375 kB / 1.129 GB, free: 36.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.165, allocations: 4 kB / 1.129 GB, free: 36.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/1.165, allocations: 70.59 kB / 1.129 GB, free: 36.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/1.165, allocations: 0 / 1.129 GB, free: 36.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/1.165, allocations: 62.47 kB / 1.129 GB, free: 36.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/1.165, allocations: 4 kB / 1.129 GB, free: 36.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/1.165, allocations: 4 kB / 1.129 GB, free: 36.02 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002855/1.165, allocations: 202.8 kB / 1.129 GB, free: 35.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-06/1.165, allocations: 1.344 kB / 1.129 GB, free: 35.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.921e-06/1.165, allocations: 4.688 kB / 1.129 GB, free: 35.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/1.166, allocations: 46.73 kB / 1.129 GB, free: 35.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/1.166, allocations: 4 kB / 1.129 GB, free: 35.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/1.166, allocations: 46.97 kB / 1.129 GB, free: 35.81 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/1.166, allocations: 7.438 kB / 1.129 GB, free: 35.81 MB / 0.7448 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 () * 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 7.929e-05/1.166, allocations: 117.3 kB / 1.129 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/1.166, allocations: 40.7 kB / 1.129 GB, free: 35.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.658e-05/1.166, allocations: 41.56 kB / 1.129 GB, free: 35.64 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/1.166, allocations: 4 kB / 1.129 GB, free: 35.64 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.166, allocations: 0 / 1.129 GB, free: 35.64 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/1.166, allocations: 4 kB / 1.129 GB, free: 35.64 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009958/1.167, allocations: 0.8622 MB / 1.13 GB, free: 34.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.167, allocations: 4.031 kB / 1.13 GB, free: 34.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/1.167, allocations: 54.66 kB / 1.13 GB, free: 34.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/1.167, allocations: 11.42 kB / 1.13 GB, free: 34.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/1.167, allocations: 4 kB / 1.13 GB, free: 34.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/1.167, allocations: 5.188 kB / 1.13 GB, free: 34.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.167, allocations: 0 / 1.13 GB, free: 34.9 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/1.168, allocations: 0.6098 MB / 1.131 GB, free: 34.32 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.723e-05/1.168, allocations: 121.1 kB / 1.131 GB, free: 34.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/1.168, allocations: 11.28 kB / 1.131 GB, free: 34.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/1.168, allocations: 27.94 kB / 1.131 GB, free: 34.17 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/1.168, allocations: 19.27 kB / 1.131 GB, free: 34.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/1.168, allocations: 15.12 kB / 1.131 GB, free: 34.15 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002359/1.169, allocations: 261.1 kB / 1.131 GB, free: 33.96 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.169, allocations: 0 / 1.131 GB, free: 33.96 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004453/1.169, allocations: 115.4 kB / 1.131 GB, free: 33.86 MB / 0.7448 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 () * 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.0009142/1.17, allocations: 1.72 MB / 1.133 GB, free: 32.2 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004664/1.17, allocations: 315.3 kB / 1.133 GB, free: 32 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.17, allocations: 4 kB / 1.133 GB, free: 32 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/1.171, allocations: 81.56 kB / 1.133 GB, free: 31.94 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/1.171, allocations: 74.39 kB / 1.133 GB, free: 31.9 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/1.172, allocations: 0.601 MB / 1.134 GB, free: 31.37 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/1.172, allocations: 0.8131 MB / 1.135 GB, free: 30.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002344/1.173, allocations: 53.38 kB / 1.135 GB, free: 30.55 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/1.173, allocations: 132 kB / 1.135 GB, free: 30.53 MB / 0.7448 GB Notification: Performance of SimCode: time 2.91e-07/1.173, allocations: 0 / 1.135 GB, free: 30.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/1.191, allocations: 6.923 MB / 1.142 GB, free: 26.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/1.191, allocations: 172.6 kB / 1.142 GB, free: 26.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/3.434, allocations: 0 / 1.142 GB, free: 26.3 MB / 0.7448 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)