Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.682/1.682, allocations: 288.4 MB / 303.3 MB, free: 8.074 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.001088/0.001088, allocations: 175.3 kB / 372 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.574/1.574, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0008475/0.0008474, allocations: 88.97 kB / 0.744 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000574/0.0005744, allocations: 10.88 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2014, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.002221/0.2037, allocations: 2.293 MB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000981/0.2047, allocations: 0.5974 MB / 0.9825 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.2049, allocations: 8 kB / 0.9825 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.2051, allocations: 63.38 kB / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.2053, allocations: 43.66 kB / 0.9826 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.2055, allocations: 111.8 kB / 0.9827 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000306/0.2059, allocations: 461 kB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.2061, allocations: 201.1 kB / 0.9833 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.538e-05/0.2062, allocations: 115.3 kB / 0.9834 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.2063, allocations: 135 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.2064, allocations: 12 kB / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.756e-05/0.2064, allocations: 12 kB / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.791e-05/0.2065, allocations: 63.64 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.667e-05/0.2065, allocations: 101.4 kB / 0.9838 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.2068, allocations: 0.4911 MB / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2068, allocations: 0 / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2068, allocations: 0 / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2068, allocations: 0 / 0.9842 GB, free: 22.84 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0009238/0.2078, allocations: 0.7209 MB / 0.9849 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2078, allocations: 12.03 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.399e-05/0.2079, allocations: 82.52 kB / 0.985 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.9e-05/0.208, allocations: 55.34 kB / 0.9851 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.2083, allocations: 371.6 kB / 0.9854 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.2084, allocations: 29 kB / 0.9855 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/0.2084, allocations: 43.94 kB / 0.9855 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006304/0.209, allocations: 419 kB / 0.9859 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.2091, allocations: 3.938 kB / 0.9859 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.2091, allocations: 16 kB / 0.9859 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.2091, allocations: 8 kB / 0.9859 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005172/0.2096, allocations: 299.8 kB / 0.9862 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.2113, allocations: 1.409 MB / 0.9876 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006101/0.2119, allocations: 286.9 kB / 0.9879 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.2121, allocations: 136.7 kB / 0.988 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.2121, allocations: 11.98 kB / 0.988 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.2122, allocations: 30.56 kB / 0.988 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.165e-06/0.2122, allocations: 0 / 0.988 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0006451/0.2128, allocations: 323.6 kB / 0.9883 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.2129, allocations: 106.8 kB / 0.9884 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003558/0.2132, allocations: 437.8 kB / 0.9889 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.2133, allocations: 33.7 kB / 0.9889 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.2134, allocations: 275.6 kB / 0.9892 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.2134, allocations: 70.91 kB / 0.9892 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/0.2135, allocations: 8 kB / 0.9892 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.331e-05/0.2135, allocations: 358.7 kB / 0.9896 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.2137, allocations: 112.6 kB / 0.9897 GB, free: 17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.214, allocations: 204.4 kB / 0.9899 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.2142, allocations: 142.2 kB / 0.99 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2142, allocations: 0 / 0.99 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005305/0.2148, allocations: 370.4 kB / 0.9904 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.721e-05/0.2148, allocations: 148.1 kB / 0.9905 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2148, allocations: 3.984 kB / 0.9905 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2149, allocations: 7.938 kB / 0.9905 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.2151, allocations: 79.91 kB / 0.9906 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2151, allocations: 4 kB / 0.9906 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.2154, allocations: 67.45 kB / 0.9907 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.2154, allocations: 8 kB / 0.9907 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.24e-06/0.2154, allocations: 4 kB / 0.9907 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002916/0.2157, allocations: 254.3 kB / 0.9909 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.2157, allocations: 3.953 kB / 0.9909 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.007e-06/0.2157, allocations: 4 kB / 0.9909 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.2159, allocations: 59.92 kB / 0.991 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.2159, allocations: 4 kB / 0.991 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.2161, allocations: 39.89 kB / 0.991 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.2161, allocations: 20 kB / 0.991 GB, free: 15.53 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.noTri.y,limPID.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001483/0.2163, allocations: 238.1 kB / 0.9913 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.2163, allocations: 43.44 kB / 0.9913 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.417e-05/0.2164, allocations: 43.75 kB / 0.9914 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2164, allocations: 4 kB / 0.9914 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2164, allocations: 4 kB / 0.9914 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2164, allocations: 0 / 0.9914 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009173/0.2173, allocations: 0.7712 MB / 0.9921 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2174, allocations: 0 / 0.9921 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.2175, allocations: 47.91 kB / 0.9922 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2176, allocations: 4 kB / 0.9922 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.2176, allocations: 4 kB / 0.9922 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.2176, allocations: 4 kB / 0.9922 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2176, allocations: 0 / 0.9922 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000578/0.2182, allocations: 481.5 kB / 0.9926 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/0.2182, allocations: 128.5 kB / 0.9928 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.2183, allocations: 4 kB / 0.9928 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.2185, allocations: 31.97 kB / 0.9928 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.2185, allocations: 15.89 kB / 0.9928 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.2185, allocations: 7.938 kB / 0.9928 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000252/0.2188, allocations: 307.1 kB / 0.9931 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2188, allocations: 0 / 0.9931 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004007/0.2192, allocations: 131.5 kB / 0.9932 GB, free: 13.17 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (20): * Single equations (assignments): 20 * 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.0007384/0.2199, allocations: 1.017 MB / 0.9942 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005693/0.2205, allocations: 394.3 kB / 0.9946 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2205, allocations: 0 / 0.9946 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.2207, allocations: 103.8 kB / 0.9947 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005517/0.2213, allocations: 89.86 kB / 0.9948 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.2242, allocations: 2.328 MB / 0.9971 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.2245, allocations: 0.8155 MB / 0.9979 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001829/0.2247, allocations: 47.47 kB / 0.9979 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.2249, allocations: 151.4 kB / 0.998 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of SimCode: time 9.02e-07/0.2249, allocations: 8 kB / 0.9981 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.2424, allocations: 7.255 MB / 1.005 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.2426, allocations: 232.4 kB / 1.005 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/2.359, allocations: 4 kB / 1.005 GB, free: 0.832 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)