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.862/1.862, allocations: 288.2 MB / 303.2 MB, free: 8.105 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.001978/0.001978, allocations: 177 kB / 371.8 MB, free: 10.27 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.809/1.809, allocations: 205.4 MB / 0.6305 GB, free: 9.984 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.0009309/0.0009308, allocations: 98.84 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003987/0.0003988, allocations: 13.03 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2233, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.001499/0.2249, allocations: 1.385 MB / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.2262, allocations: 1.207 MB / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.2264, allocations: 8 kB / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.969e-05/0.2265, allocations: 31.59 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.2268, allocations: 71.7 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.227, allocations: 107.9 kB / 0.9822 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.2274, allocations: 273.5 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/0.2277, allocations: 183 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.985e-05/0.2278, allocations: 107.4 kB / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.2279, allocations: 131.1 kB / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.2279, allocations: 12 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.827e-05/0.228, allocations: 16 kB / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.228, allocations: 59.69 kB / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.514e-05/0.2281, allocations: 89.45 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.2284, allocations: 447 kB / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2284, allocations: 0 / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.776e-06/0.2284, allocations: 0 / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.2284, allocations: 0 / 0.9835 GB, free: 23.44 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.0009685/0.2294, allocations: 0.6991 MB / 0.9842 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2294, allocations: 15.95 kB / 0.9842 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.507e-05/0.2295, allocations: 78.52 kB / 0.9843 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/0.2296, allocations: 51.34 kB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.23, allocations: 347.2 kB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.23, allocations: 33 kB / 0.9847 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.23, allocations: 47.84 kB / 0.9847 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/0.2306, allocations: 395 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2306, allocations: 3.938 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.2306, allocations: 16 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.2307, allocations: 8 kB / 0.9851 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004912/0.2312, allocations: 283.8 kB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.2327, allocations: 1.351 MB / 0.9867 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.2333, allocations: 244.4 kB / 0.9869 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.2333, allocations: 7.984 kB / 0.987 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.2333, allocations: 34.56 kB / 0.987 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.2333, allocations: 0 / 0.987 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17): time 0.0005929/0.2339, allocations: 297.3 kB / 0.9873 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.234, allocations: 114.7 kB / 0.9874 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.2344, allocations: 425.5 kB / 0.9878 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.2344, allocations: 25.7 kB / 0.9878 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.2345, allocations: 251.8 kB / 0.9881 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.2345, allocations: 63.11 kB / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.2346, allocations: 4 kB / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.276e-05/0.2346, allocations: 350.8 kB / 0.9884 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.2348, allocations: 103.9 kB / 0.9885 GB, free: 18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.2351, allocations: 199 kB / 0.9887 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.2353, allocations: 137.3 kB / 0.9889 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2353, allocations: 0 / 0.9889 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005151/0.2358, allocations: 354.2 kB / 0.9892 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.236, allocations: 0.7901 MB / 0.99 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.236, allocations: 4 kB / 0.99 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.236, allocations: 8 kB / 0.99 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.2363, allocations: 67.91 kB / 0.9901 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.2363, allocations: 7.938 kB / 0.9901 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.2365, allocations: 59.56 kB / 0.9901 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.2365, allocations: 12 kB / 0.9901 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/0.2366, allocations: 8 kB / 0.9901 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002634/0.2368, allocations: 228.5 kB / 0.9904 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.2368, allocations: 8 kB / 0.9904 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-06/0.2368, allocations: 7.984 kB / 0.9904 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.237, allocations: 59.88 kB / 0.9904 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.237, allocations: 4 kB / 0.9904 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.2372, allocations: 43.89 kB / 0.9905 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.2372, allocations: 8 kB / 0.9905 GB, free: 15.92 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.0001425/0.2374, allocations: 237 kB / 0.9907 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.2374, allocations: 39.53 kB / 0.9907 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.523e-05/0.2375, allocations: 43.53 kB / 0.9908 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2375, allocations: 7.953 kB / 0.9908 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.2375, allocations: 0 / 0.9908 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.2375, allocations: 0 / 0.9908 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008444/0.2384, allocations: 0.7175 MB / 0.9915 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2384, allocations: 4 kB / 0.9915 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.2385, allocations: 35.97 kB / 0.9915 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2386, allocations: 7.953 kB / 0.9915 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.2386, allocations: 4 kB / 0.9915 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2386, allocations: 4 kB / 0.9915 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2386, allocations: 0 / 0.9915 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000549/0.2391, allocations: 469.6 kB / 0.992 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.2392, allocations: 116.8 kB / 0.9921 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.2393, allocations: 11.97 kB / 0.9921 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.2394, allocations: 27.98 kB / 0.9921 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.2395, allocations: 7.984 kB / 0.9922 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.2395, allocations: 4 kB / 0.9922 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002323/0.2397, allocations: 291.2 kB / 0.9924 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2397, allocations: 0 / 0.9924 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004289/0.2402, allocations: 127.4 kB / 0.9926 GB, free: 13.66 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.0007539/0.2409, allocations: 1.144 MB / 0.9937 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005747/0.2415, allocations: 369.9 kB / 0.994 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2415, allocations: 0 / 0.994 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.2417, allocations: 92.77 kB / 0.9941 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.2421, allocations: 64.98 kB / 0.9942 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.2451, allocations: 3.364 MB / 0.9975 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.2453, allocations: 0.8154 MB / 0.9983 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.2455, allocations: 43.25 kB / 0.9983 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.2456, allocations: 135.3 kB / 0.9984 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.2456, allocations: 0 / 0.9984 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.2633, allocations: 6.585 MB / 1.005 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/0.2636, allocations: 207.5 kB / 1.005 GB, free: 0.8828 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/2.432, allocations: 2.5 kB / 1.005 GB, free: 0.8828 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)