Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",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.807/1.807, allocations: 289.9 MB / 297.4 MB, free: 6.379 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.001064/0.001064, allocations: 176.9 kB / 366.7 MB, free: 1.656 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.701/1.701, allocations: 205.2 MB / 0.626 GB, free: 7.141 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.000889/0.0008892, allocations: 96.81 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.411e-05/2.414e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9889/0.989, allocations: 116.3 MB / 0.9734 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3058/1.295, allocations: 141.9 MB / 1.112 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/1.295, allocations: 91.91 kB / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02281/1.318, allocations: 8.093 MB / 1.12 GB, free: 156 kB / 0.7136 GB Notification: Performance of FrontEnd: time 2.335e-06/1.318, allocations: 0 / 1.12 GB, free: 156 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.07e-05/1.318, allocations: 12 kB / 1.12 GB, free: 144 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001101/1.319, allocations: 0.6467 MB / 1.121 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/1.319, allocations: 12.03 kB / 1.121 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/1.319, allocations: 55.34 kB / 1.121 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006393/1.32, allocations: 368.9 kB / 1.121 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/1.32, allocations: 12 kB / 1.121 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.31e-05/1.32, allocations: 27.91 kB / 1.121 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004767/1.321, allocations: 234.5 kB / 1.121 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/1.321, allocations: 328.1 kB / 1.122 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/1.321, allocations: 0 / 1.122 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/1.321, allocations: 4 kB / 1.122 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/1.321, allocations: 12 kB / 1.122 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/1.323, allocations: 1.248 MB / 1.123 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007156/1.324, allocations: 267.5 kB / 1.123 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/1.324, allocations: 117.8 kB / 1.123 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/1.324, allocations: 4 kB / 1.123 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00028/1.325, allocations: 156.3 kB / 1.123 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/1.325, allocations: 0 / 1.123 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28): time 0.0004635/1.325, allocations: 228 kB / 1.124 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/1.325, allocations: 136.5 kB / 1.124 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/1.326, allocations: 282.4 kB / 1.124 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/1.326, allocations: 29.64 kB / 1.124 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/1.326, allocations: 248 kB / 1.124 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.985e-05/1.326, allocations: 90.66 kB / 1.124 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/1.326, allocations: 0 / 1.124 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001743/1.326, allocations: 350.8 kB / 1.125 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/1.326, allocations: 80 kB / 1.125 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/1.327, allocations: 167.5 kB / 1.125 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/1.327, allocations: 94.16 kB / 1.125 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.327, allocations: 0 / 1.125 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004592/1.327, allocations: 287.1 kB / 1.125 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000302/1.327, allocations: 0.5215 MB / 1.126 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.328, allocations: 5.812 kB / 1.126 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/1.328, allocations: 4 kB / 1.126 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/1.328, allocations: 71.89 kB / 1.126 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/1.328, allocations: 15.89 kB / 1.126 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/1.328, allocations: 43.67 kB / 1.126 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/1.328, allocations: 8 kB / 1.126 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/1.328, allocations: 5.406 kB / 1.126 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003553/1.329, allocations: 199.6 kB / 1.126 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.329, allocations: 8.016 kB / 1.126 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.099e-06/1.329, allocations: 4.047 kB / 1.126 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/1.329, allocations: 63.84 kB / 1.126 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/1.329, allocations: 7.938 kB / 1.126 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/1.329, allocations: 23.83 kB / 1.126 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/1.329, allocations: 8 kB / 1.126 GB, free: 9.441 MB / 0.7292 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 (37): * Single equations (assignments): 37 * 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.0001233/1.329, allocations: 112.9 kB / 1.126 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003615/1.329, allocations: 225.9 kB / 1.127 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/1.33, allocations: 39.33 kB / 1.127 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.733e-05/1.33, allocations: 39 kB / 1.127 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.33, allocations: 4 kB / 1.127 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.33, allocations: 0 / 1.127 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/1.33, allocations: 3.984 kB / 1.127 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/1.331, allocations: 0.8684 MB / 1.127 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.331, allocations: 4 kB / 1.127 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/1.331, allocations: 64.17 kB / 1.127 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/1.331, allocations: 8 kB / 1.128 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/1.331, allocations: 4 kB / 1.128 GB, free: 8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.85e-06/1.331, allocations: 4 kB / 1.128 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.331, allocations: 7.938 kB / 1.128 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000882/1.332, allocations: 0.6697 MB / 1.128 GB, free: 7.215 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/1.332, allocations: 124.5 kB / 1.128 GB, free: 7.074 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/1.332, allocations: 4 kB / 1.128 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/1.333, allocations: 31.47 kB / 1.128 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/1.333, allocations: 23.94 kB / 1.128 GB, free: 7.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/1.333, allocations: 12 kB / 1.128 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002418/1.333, allocations: 220.6 kB / 1.129 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.91e-07/1.333, allocations: 0 / 1.129 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005801/1.334, allocations: 135.4 kB / 1.129 GB, free: 6.66 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.001473/1.335, allocations: 1.908 MB / 1.131 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006077/1.336, allocations: 338.1 kB / 1.131 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/1.336, allocations: 8.062 kB / 1.131 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/1.336, allocations: 99.86 kB / 1.131 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/1.336, allocations: 67.31 kB / 1.131 GB, free: 4.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/1.338, allocations: 0.6476 MB / 1.132 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/1.338, allocations: 0.8273 MB / 1.132 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002627/1.339, allocations: 60.31 kB / 1.133 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/1.339, allocations: 143.4 kB / 1.133 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of SimCode: time 2.9e-07/1.339, allocations: 0 / 1.133 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03641/1.375, allocations: 6.622 MB / 1.139 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003123/1.376, allocations: 167.6 kB / 1.139 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/3.554, allocations: 0 / 1.139 GB, free: 11.73 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)