Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.767/2.767, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.001522/0.001522, allocations: 187 kB / 370.8 MB, free: 10.85 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.359/2.359, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001133/0.001133, allocations: 103.6 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004985, allocations: 18.8 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2219, allocations: 115.3 MB / 0.9783 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9106/1.133, allocations: 138.8 MB / 1.114 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/1.133, allocations: 80.83 kB / 1.114 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02751/1.16, allocations: 6.535 MB / 1.12 GB, free: 31.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.527e-06/1.161, allocations: 7.938 kB / 1.12 GB, free: 31.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.623e-05/1.161, allocations: 11.69 kB / 1.12 GB, free: 31.23 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001585/1.162, allocations: 0.6731 MB / 1.121 GB, free: 30.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/1.162, allocations: 7.719 kB / 1.121 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/1.162, allocations: 72.91 kB / 1.121 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/1.162, allocations: 46.62 kB / 1.121 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008824/1.163, allocations: 379 kB / 1.121 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/1.163, allocations: 25.94 kB / 1.121 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.028e-05/1.163, allocations: 38.91 kB / 1.122 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009032/1.164, allocations: 364.5 kB / 1.122 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/1.164, allocations: 0 / 1.122 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/1.165, allocations: 14.34 kB / 1.122 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/1.165, allocations: 7.688 kB / 1.122 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008218/1.165, allocations: 266.9 kB / 1.122 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/1.168, allocations: 1.211 MB / 1.123 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/1.169, allocations: 293.3 kB / 1.124 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.5e-05/1.169, allocations: 8.094 kB / 1.124 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004796/1.169, allocations: 170.3 kB / 1.124 GB, free: 29.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.965e-06/1.169, allocations: 0 / 1.124 GB, free: 29.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.001199/1.171, allocations: 347.5 kB / 1.124 GB, free: 29.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.525e-05/1.171, allocations: 131.3 kB / 1.124 GB, free: 29.49 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00053/1.171, allocations: 345.2 kB / 1.125 GB, free: 29.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/1.171, allocations: 29.27 kB / 1.125 GB, free: 29.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/1.172, allocations: 220.8 kB / 1.125 GB, free: 29.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.885e-05/1.172, allocations: 76.86 kB / 1.125 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/1.172, allocations: 7.188 kB / 1.125 GB, free: 29.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.172, allocations: 355.8 kB / 1.125 GB, free: 28.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/1.172, allocations: 100.7 kB / 1.125 GB, free: 28.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/1.173, allocations: 169.1 kB / 1.125 GB, free: 28.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/1.173, allocations: 122.1 kB / 1.126 GB, free: 28.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.173, allocations: 0 / 1.126 GB, free: 28.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009385/1.174, allocations: 333.1 kB / 1.126 GB, free: 28.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001913/1.174, allocations: 450.3 kB / 1.126 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.174, allocations: 2.906 kB / 1.126 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/1.174, allocations: 3.812 kB / 1.126 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/1.175, allocations: 66.95 kB / 1.126 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.629e-06/1.175, allocations: 3.469 kB / 1.126 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/1.175, allocations: 53.91 kB / 1.126 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/1.175, allocations: 14.22 kB / 1.126 GB, free: 28.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/1.175, allocations: 3.875 kB / 1.126 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004606/1.176, allocations: 204.4 kB / 1.127 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/1.176, allocations: 0 / 1.127 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.172e-06/1.176, allocations: 7.938 kB / 1.127 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/1.176, allocations: 49.38 kB / 1.127 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/1.176, allocations: 0 / 1.127 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/1.176, allocations: 41.75 kB / 1.127 GB, free: 28.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/1.176, allocations: 7.719 kB / 1.127 GB, free: 28.19 MB / 0.698 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.0003099/1.177, allocations: 235.6 kB / 1.127 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/1.177, allocations: 35 kB / 1.127 GB, free: 27.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/1.177, allocations: 44.69 kB / 1.127 GB, free: 27.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/1.177, allocations: 0 / 1.127 GB, free: 27.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/1.177, allocations: 7.875 kB / 1.127 GB, free: 27.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/1.177, allocations: 7.188 kB / 1.127 GB, free: 27.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/1.179, allocations: 0.9017 MB / 1.128 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/1.179, allocations: 11.86 kB / 1.128 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/1.179, allocations: 49.73 kB / 1.128 GB, free: 27.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/1.179, allocations: 3.906 kB / 1.128 GB, free: 27.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/1.179, allocations: 10.09 kB / 1.128 GB, free: 27.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/1.179, allocations: 3.844 kB / 1.128 GB, free: 27.49 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.179, allocations: 3.938 kB / 1.128 GB, free: 27.49 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/1.181, allocations: 0.6836 MB / 1.129 GB, free: 27.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/1.181, allocations: 119 kB / 1.129 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.67e-05/1.181, allocations: 18.19 kB / 1.129 GB, free: 26.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/1.181, allocations: 25.86 kB / 1.129 GB, free: 26.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/1.181, allocations: 17.03 kB / 1.129 GB, free: 26.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/1.181, allocations: 11.5 kB / 1.129 GB, free: 26.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004187/1.182, allocations: 266.5 kB / 1.129 GB, free: 26.85 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.182, allocations: 4 kB / 1.129 GB, free: 26.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007252/1.183, allocations: 121.3 kB / 1.129 GB, free: 26.82 MB / 0.698 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.001908/1.184, allocations: 1.791 MB / 1.131 GB, free: 25.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001132/1.186, allocations: 352 kB / 1.131 GB, free: 25.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.186, allocations: 0 / 1.131 GB, free: 25.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003547/1.186, allocations: 120.8 kB / 1.131 GB, free: 25.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007973/1.187, allocations: 76.88 kB / 1.132 GB, free: 25.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005176/1.192, allocations: 2.769 MB / 1.134 GB, free: 23.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/1.193, allocations: 0.8054 MB / 1.135 GB, free: 23.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003108/1.193, allocations: 48.84 kB / 1.135 GB, free: 23.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/1.193, allocations: 127.6 kB / 1.135 GB, free: 23.11 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/1.193, allocations: 0 / 1.135 GB, free: 23.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03887/1.232, allocations: 6.569 MB / 1.142 GB, free: 20.94 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/1.232, allocations: 211.2 kB / 1.142 GB, free: 20.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.679/3.911, allocations: 0 / 1.142 GB, free: 20.7 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)