Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.PIDInitialState,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 289.7 MB / 302.3 MB, free: 2.113 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.001134/0.001134, allocations: 176.4 kB / 371.6 MB, free: 3.348 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.532/1.532, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0008716/0.0008715, allocations: 90.84 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.418e-05, allocations: 4 kB / 0.8664 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2703, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8296/1.1, allocations: 139.9 MB / 1.116 GB, free: 44.07 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/1.1, allocations: 70.05 kB / 1.117 GB, free: 44.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01482/1.115, allocations: 6.417 MB / 1.123 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.352e-06/1.115, allocations: 4 kB / 1.123 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.982e-05/1.115, allocations: 8 kB / 1.123 GB, free: 40.67 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0007518/1.116, allocations: 0.6226 MB / 1.123 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/1.116, allocations: 12.03 kB / 1.123 GB, free: 40.08 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.413e-05/1.116, allocations: 73.19 kB / 1.124 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.72e-05/1.116, allocations: 49.72 kB / 1.124 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000499/1.117, allocations: 365.2 kB / 1.124 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/1.117, allocations: 30.47 kB / 1.124 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.805e-05/1.117, allocations: 42.97 kB / 1.124 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/1.117, allocations: 365.6 kB / 1.124 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.117, allocations: 2.953 kB / 1.124 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/1.117, allocations: 14.56 kB / 1.124 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/1.117, allocations: 8 kB / 1.124 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003554/1.118, allocations: 235.1 kB / 1.125 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/1.119, allocations: 1.29 MB / 1.126 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/1.12, allocations: 224.6 kB / 1.126 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/1.12, allocations: 107.5 kB / 1.126 GB, free: 38.19 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/1.12, allocations: 4 kB / 1.126 GB, free: 38.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/1.12, allocations: 166.1 kB / 1.126 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 2.545e-06/1.12, allocations: 1.078 kB / 1.126 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25): time 0.0003717/1.12, allocations: 219.4 kB / 1.127 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/1.12, allocations: 143.8 kB / 1.127 GB, free: 37.74 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/1.121, allocations: 357.9 kB / 1.127 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/1.121, allocations: 29.45 kB / 1.127 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/1.121, allocations: 231.6 kB / 1.127 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/1.121, allocations: 88.69 kB / 1.127 GB, free: 37.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.378e-05/1.121, allocations: 3.688 kB / 1.127 GB, free: 37.23 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.121, allocations: 354.5 kB / 1.128 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/1.121, allocations: 77.25 kB / 1.128 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/1.122, allocations: 155.6 kB / 1.128 GB, free: 36.72 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/1.122, allocations: 98.05 kB / 1.128 GB, free: 36.67 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/1.122, allocations: 0 / 1.128 GB, free: 36.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004473/1.122, allocations: 286.5 kB / 1.128 GB, free: 36.47 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001869/1.122, allocations: 0.5303 MB / 1.129 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.122, allocations: 4 kB / 1.129 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/1.122, allocations: 1.125 kB / 1.129 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/1.123, allocations: 69.25 kB / 1.129 GB, free: 35.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/1.123, allocations: 7.953 kB / 1.129 GB, free: 35.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/1.123, allocations: 54.44 kB / 1.129 GB, free: 35.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/1.123, allocations: 11.5 kB / 1.129 GB, free: 35.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/1.123, allocations: 4 kB / 1.129 GB, free: 35.79 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003447/1.123, allocations: 220.9 kB / 1.129 GB, free: 35.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.123, allocations: 4.547 kB / 1.129 GB, free: 35.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.128e-06/1.123, allocations: 0 / 1.129 GB, free: 35.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/1.124, allocations: 54.44 kB / 1.129 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/1.124, allocations: 3.938 kB / 1.129 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/1.124, allocations: 43.69 kB / 1.129 GB, free: 35.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/1.124, allocations: 11.78 kB / 1.129 GB, free: 35.56 MB / 0.7448 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.0001031/1.124, allocations: 133.4 kB / 1.129 GB, free: 35.44 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/1.124, allocations: 35.53 kB / 1.129 GB, free: 35.4 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/1.124, allocations: 45.47 kB / 1.129 GB, free: 35.38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/1.124, allocations: 4 kB / 1.129 GB, free: 35.38 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/1.124, allocations: 0 / 1.129 GB, free: 35.38 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/1.124, allocations: 3.656 kB / 1.129 GB, free: 35.38 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/1.125, allocations: 0.9001 MB / 1.13 GB, free: 34.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.125, allocations: 8.25 kB / 1.13 GB, free: 34.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/1.126, allocations: 51.56 kB / 1.13 GB, free: 34.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/1.126, allocations: 4 kB / 1.13 GB, free: 34.63 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/1.126, allocations: 7.125 kB / 1.13 GB, free: 34.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/1.126, allocations: 7.422 kB / 1.13 GB, free: 34.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.126, allocations: 5.25 kB / 1.13 GB, free: 34.62 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007403/1.126, allocations: 0.6499 MB / 1.131 GB, free: 34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/1.127, allocations: 130.4 kB / 1.131 GB, free: 33.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/1.127, allocations: 11.38 kB / 1.131 GB, free: 33.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/1.127, allocations: 22.23 kB / 1.131 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/1.127, allocations: 26.97 kB / 1.131 GB, free: 33.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/1.127, allocations: 15.73 kB / 1.131 GB, free: 33.82 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003099/1.127, allocations: 278.7 kB / 1.132 GB, free: 33.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.127, allocations: 4 kB / 1.132 GB, free: 33.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000625/1.128, allocations: 118.4 kB / 1.132 GB, free: 33.52 MB / 0.7448 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.001076/1.129, allocations: 1.833 MB / 1.133 GB, free: 31.74 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005608/1.13, allocations: 332.5 kB / 1.134 GB, free: 31.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/1.13, allocations: 8.125 kB / 1.134 GB, free: 31.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/1.13, allocations: 96.31 kB / 1.134 GB, free: 31.45 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/1.13, allocations: 66.23 kB / 1.134 GB, free: 31.42 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/1.132, allocations: 0.6434 MB / 1.135 GB, free: 30.85 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/1.132, allocations: 0.814 MB / 1.135 GB, free: 30.06 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002584/1.132, allocations: 60.95 kB / 1.135 GB, free: 30.03 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/1.132, allocations: 140.5 kB / 1.136 GB, free: 30 MB / 0.7448 GB Notification: Performance of SimCode: time 3.2e-07/1.132, allocations: 0.75 kB / 1.136 GB, free: 30 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/1.154, allocations: 7.221 MB / 1.143 GB, free: 25.82 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/1.154, allocations: 165.3 kB / 1.143 GB, free: 25.59 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/3.477, allocations: 0 / 1.143 GB, free: 25.59 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)