Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.PIDInitialState,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.657/2.657, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001407/0.001407, allocations: 184.8 kB / 360.6 MB, free: 7.277 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.03/2.03, allocations: 205.3 MB / 0.6191 GB, free: 12.23 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.001095/0.001095, allocations: 97.05 kB / 0.7321 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.204e-05/4.216e-05, allocations: 8 kB / 0.8509 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8394/0.8395, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2462/1.086, allocations: 138 MB / 1.098 GB, free: 2.422 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/1.086, allocations: 75.95 kB / 1.098 GB, free: 2.348 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02752/1.114, allocations: 6.37 MB / 1.105 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.395e-06/1.114, allocations: 0 / 1.105 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.864e-05/1.114, allocations: 8 kB / 1.105 GB, free: 12.05 MB / 0.7136 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.001337/1.115, allocations: 0.6377 MB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/1.115, allocations: 8.031 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/1.115, allocations: 52.02 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008778/1.116, allocations: 362.8 kB / 1.106 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/1.116, allocations: 12 kB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.584e-05/1.116, allocations: 23.94 kB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006629/1.117, allocations: 213.5 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008245/1.118, allocations: 314.3 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/1.118, allocations: 0 / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/1.118, allocations: 0 / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/1.118, allocations: 8 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003038/1.121, allocations: 1.194 MB / 1.107 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006725/1.122, allocations: 207 kB / 1.107 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/1.122, allocations: 105.7 kB / 1.108 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/1.122, allocations: 0 / 1.108 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000366/1.122, allocations: 155.4 kB / 1.108 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 1.904e-06/1.122, allocations: 0 / 1.108 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0006242/1.123, allocations: 197.2 kB / 1.108 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.669e-05/1.123, allocations: 140.5 kB / 1.108 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/1.124, allocations: 269 kB / 1.108 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/1.124, allocations: 25.7 kB / 1.108 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/1.124, allocations: 236.1 kB / 1.109 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/1.124, allocations: 90.69 kB / 1.109 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.992e-05/1.124, allocations: 0 / 1.109 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.124, allocations: 342.8 kB / 1.109 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/1.125, allocations: 76.56 kB / 1.109 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/1.125, allocations: 145.4 kB / 1.109 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/1.125, allocations: 91.19 kB / 1.109 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.125, allocations: 0 / 1.109 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007067/1.126, allocations: 271.4 kB / 1.11 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002512/1.126, allocations: 0.5216 MB / 1.11 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/1.126, allocations: 0 / 1.11 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/1.126, allocations: 4 kB / 1.11 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/1.127, allocations: 71.89 kB / 1.11 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/1.127, allocations: 0 / 1.11 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004078/1.127, allocations: 51.62 kB / 1.11 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/1.127, allocations: 8 kB / 1.11 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/1.127, allocations: 6.188 kB / 1.11 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005177/1.128, allocations: 185.8 kB / 1.11 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/1.128, allocations: 128 / 1.11 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/1.128, allocations: 8 kB / 1.11 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/1.128, allocations: 55.91 kB / 1.11 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/1.128, allocations: 4 kB / 1.11 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/1.129, allocations: 33.27 kB / 1.11 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/1.129, allocations: 8 kB / 1.11 GB, free: 5.699 MB / 0.7136 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 () * 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.0001692/1.129, allocations: 118.4 kB / 1.111 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005404/1.129, allocations: 201.2 kB / 1.111 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-05/1.129, allocations: 35.62 kB / 1.111 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/1.13, allocations: 33.3 kB / 1.111 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/1.13, allocations: 4 kB / 1.111 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.13, allocations: 0 / 1.111 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.403e-06/1.13, allocations: 0 / 1.111 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/1.131, allocations: 0.8223 MB / 1.112 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.131, allocations: 3.984 kB / 1.112 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004922/1.132, allocations: 63.56 kB / 1.112 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/1.132, allocations: 4 kB / 1.112 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/1.132, allocations: 256 / 1.112 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/1.132, allocations: 8 kB / 1.112 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/1.132, allocations: 7.953 kB / 1.112 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/1.133, allocations: 0.6202 MB / 1.112 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/1.133, allocations: 116.7 kB / 1.112 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/1.133, allocations: 4 kB / 1.112 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004209/1.134, allocations: 19.98 kB / 1.112 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/1.134, allocations: 31.86 kB / 1.112 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/1.134, allocations: 11.94 kB / 1.113 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003342/1.134, allocations: 208.6 kB / 1.113 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.5e-07/1.134, allocations: 0 / 1.113 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007845/1.135, allocations: 115.4 kB / 1.113 GB, free: 3.098 MB / 0.7136 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 () * 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.001657/1.137, allocations: 1.808 MB / 1.115 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000952/1.138, allocations: 309.8 kB / 1.115 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.138, allocations: 0 / 1.115 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/1.138, allocations: 91.86 kB / 1.115 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000779/1.139, allocations: 60.02 kB / 1.115 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/1.141, allocations: 0.5888 MB / 1.116 GB, free: 108 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006501/1.142, allocations: 0.8154 MB / 1.116 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004551/1.142, allocations: 56.72 kB / 1.116 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/1.142, allocations: 134.1 kB / 1.117 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of SimCode: time 1.192e-06/1.142, allocations: 0 / 1.117 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04871/1.191, allocations: 5.914 MB / 1.122 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003548/1.192, allocations: 160.4 kB / 1.122 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.586/3.778, allocations: 2.75 kB / 1.123 GB, free: 9.098 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)