Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 288.4 MB / 303.3 MB, free: 8.176 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.001047/0.001047, allocations: 188.5 kB / 372 MB, free: 10.25 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.435/1.435, allocations: 205.4 MB / 0.6307 GB, free: 9.875 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.0008629/0.000863, allocations: 82.92 kB / 0.744 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003564, allocations: 14.09 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1758, allocations: 115.3 MB / 0.9797 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.001689/0.1776, allocations: 1.366 MB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.1793, allocations: 1.207 MB / 0.9822 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003143/0.1796, allocations: 4 kB / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.1798, allocations: 55.45 kB / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.1801, allocations: 43.7 kB / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.1804, allocations: 99.84 kB / 0.9824 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004841/0.1809, allocations: 417.2 kB / 0.9828 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/0.1812, allocations: 183 kB / 0.9829 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1814, allocations: 107.4 kB / 0.983 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.1815, allocations: 143.1 kB / 0.9832 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.1816, allocations: 8 kB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.988e-05/0.1816, allocations: 12 kB / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.861e-05/0.1817, allocations: 55.7 kB / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.1817, allocations: 85.45 kB / 0.9833 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.182, allocations: 447 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.182, allocations: 4 kB / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.993e-06/0.182, allocations: 0 / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.1821, allocations: 3.938 kB / 0.9838 GB, free: 23.28 MB / 0.6198 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.0009577/0.183, allocations: 0.7016 MB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1831, allocations: 12.02 kB / 0.9845 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.906e-05/0.1831, allocations: 74.53 kB / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.1832, allocations: 55.34 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.1836, allocations: 355.1 kB / 0.9849 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.1836, allocations: 33 kB / 0.985 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/0.1837, allocations: 39.91 kB / 0.985 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005621/0.1842, allocations: 395 kB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1842, allocations: 0 / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.1843, allocations: 23.94 kB / 0.9854 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1843, allocations: 8 kB / 0.9854 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004933/0.1848, allocations: 283.8 kB / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.1863, allocations: 1.343 MB / 0.987 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004931/0.1869, allocations: 246.8 kB / 0.9872 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.1871, allocations: 120.9 kB / 0.9873 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.1871, allocations: 0 / 0.9873 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.1871, allocations: 34.56 kB / 0.9874 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.1871, allocations: 0 / 0.9874 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17): time 0.0005729/0.1877, allocations: 304.9 kB / 0.9877 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.1877, allocations: 110.8 kB / 0.9878 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.1881, allocations: 421.5 kB / 0.9882 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1881, allocations: 33.7 kB / 0.9882 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.1882, allocations: 251.7 kB / 0.9884 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.1883, allocations: 63.09 kB / 0.9885 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.1883, allocations: 8 kB / 0.9885 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.253e-05/0.1883, allocations: 346.8 kB / 0.9888 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.1886, allocations: 108 kB / 0.9889 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.1888, allocations: 210.8 kB / 0.9891 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.189, allocations: 121.5 kB / 0.9893 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1891, allocations: 0 / 0.9893 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005237/0.1896, allocations: 353 kB / 0.9896 GB, free: 17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.31e-05/0.1897, allocations: 157 kB / 0.9898 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1897, allocations: 3.984 kB / 0.9898 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1897, allocations: 4 kB / 0.9898 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.1899, allocations: 75.91 kB / 0.9898 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.19, allocations: 7.984 kB / 0.9898 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.1902, allocations: 51.67 kB / 0.9899 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.1902, allocations: 12 kB / 0.9899 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.031e-06/0.1902, allocations: 7.938 kB / 0.9899 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000275/0.1905, allocations: 237 kB / 0.9901 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1905, allocations: 4 kB / 0.9901 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.068e-06/0.1905, allocations: 4 kB / 0.9901 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.1907, allocations: 55.92 kB / 0.9902 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1907, allocations: 7.938 kB / 0.9902 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.1909, allocations: 39.89 kB / 0.9902 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.1909, allocations: 12 kB / 0.9903 GB, free: 16.31 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001376/0.191, allocations: 244.9 kB / 0.9905 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.1911, allocations: 35.53 kB / 0.9905 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.965e-05/0.1912, allocations: 39.61 kB / 0.9906 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1912, allocations: 0 / 0.9906 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1912, allocations: 0 / 0.9906 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1912, allocations: 4 kB / 0.9906 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008487/0.192, allocations: 0.7145 MB / 0.9913 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1921, allocations: 4.062 kB / 0.9913 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.1922, allocations: 43.91 kB / 0.9913 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.1922, allocations: 4 kB / 0.9913 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1923, allocations: 7.938 kB / 0.9913 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1923, allocations: 4 kB / 0.9913 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1923, allocations: 0 / 0.9913 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.1929, allocations: 438.1 kB / 0.9917 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/0.193, allocations: 124.6 kB / 0.9919 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.193, allocations: 7.938 kB / 0.9919 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.1932, allocations: 19.98 kB / 0.9919 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.1932, allocations: 27.88 kB / 0.9919 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1932, allocations: 4 kB / 0.9919 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002406/0.1935, allocations: 291.2 kB / 0.9922 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1935, allocations: 0 / 0.9922 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004116/0.1939, allocations: 123.5 kB / 0.9923 GB, free: 14.08 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0007691/0.1947, allocations: 0.9713 MB / 0.9933 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005782/0.1953, allocations: 364.8 kB / 0.9936 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1953, allocations: 0.875 kB / 0.9936 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.1955, allocations: 96.58 kB / 0.9937 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.196, allocations: 69.47 kB / 0.9938 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.1989, allocations: 2.168 MB / 0.9959 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.1991, allocations: 0.7999 MB / 0.9967 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000155/0.1993, allocations: 39.45 kB / 0.9967 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.1994, allocations: 139.3 kB / 0.9968 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/0.1994, allocations: 0 / 0.9968 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.2178, allocations: 6.591 MB / 1.003 GB, free: 2.938 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/0.218, allocations: 215.6 kB / 1.003 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/2.404, allocations: 4 kB / 1.003 GB, free: 2.691 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)