Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.551/1.551, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001338/0.001338, allocations: 173.7 kB / 327.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.4 MB / 0.5783 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008372/0.0008373, allocations: 92.98 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003768, allocations: 16.16 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2179, allocations: 106.3 MB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.002676/0.2206, allocations: 2.312 MB / 0.9031 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.2225, allocations: 0.8664 MB / 0.9039 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000483/0.223, allocations: 11.94 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.2233, allocations: 67.31 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003608/0.2237, allocations: 43.66 kB / 0.9041 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.224, allocations: 115.8 kB / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004984/0.2245, allocations: 457 kB / 0.9046 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003354/0.2248, allocations: 183.2 kB / 0.9048 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.225, allocations: 111.3 kB / 0.9049 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.2252, allocations: 139.1 kB / 0.905 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/0.2252, allocations: 12 kB / 0.905 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.48e-05/0.2253, allocations: 15.94 kB / 0.9051 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.907e-05/0.2253, allocations: 55.64 kB / 0.9051 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.49e-05/0.2254, allocations: 93.45 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.2257, allocations: 455.1 kB / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.2257, allocations: 0 / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2257, allocations: 0 / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.2258, allocations: 0 / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001138/0.2269, allocations: 0.7248 MB / 0.9063 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2269, allocations: 8.031 kB / 0.9063 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.2271, allocations: 55.34 kB / 0.9064 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/0.2275, allocations: 371.7 kB / 0.9068 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.2276, allocations: 32.94 kB / 0.9068 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.81e-05/0.2276, allocations: 36 kB / 0.9068 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006453/0.2283, allocations: 422.5 kB / 0.9072 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.2283, allocations: 11.94 kB / 0.9072 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.2283, allocations: 16 kB / 0.9072 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.2284, allocations: 8 kB / 0.9073 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005478/0.2289, allocations: 299.8 kB / 0.9075 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.2308, allocations: 1.707 MB / 0.9092 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/0.2314, allocations: 298.8 kB / 0.9095 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.2317, allocations: 125.5 kB / 0.9096 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.2317, allocations: 4 kB / 0.9096 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.2317, allocations: 38.56 kB / 0.9097 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 2.644e-06/0.2317, allocations: 0 / 0.9097 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0006374/0.2324, allocations: 323.5 kB / 0.91 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.2324, allocations: 114.7 kB / 0.9101 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003817/0.2328, allocations: 437.8 kB / 0.9105 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.2328, allocations: 33.64 kB / 0.9105 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.233, allocations: 259.9 kB / 0.9108 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.233, allocations: 78.91 kB / 0.9108 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.233, allocations: 4 kB / 0.9108 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.2331, allocations: 354.8 kB / 0.9112 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.2333, allocations: 111.9 kB / 0.9113 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.2336, allocations: 189.4 kB / 0.9115 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.2338, allocations: 127.9 kB / 0.9116 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2338, allocations: 0 / 0.9116 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005772/0.2344, allocations: 363.2 kB / 0.9119 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.976e-05/0.2345, allocations: 134.3 kB / 0.9121 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2345, allocations: 0 / 0.9121 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.2345, allocations: 4 kB / 0.9121 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.2348, allocations: 79.89 kB / 0.9121 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.2348, allocations: 3.938 kB / 0.9122 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.235, allocations: 63.47 kB / 0.9122 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.2351, allocations: 15.98 kB / 0.9122 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.024e-06/0.2351, allocations: 8 kB / 0.9122 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002946/0.2354, allocations: 231.8 kB / 0.9125 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2354, allocations: 11.94 kB / 0.9125 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/0.2354, allocations: 4 kB / 0.9125 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.2356, allocations: 55.92 kB / 0.9125 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2356, allocations: 7.984 kB / 0.9125 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.2358, allocations: 35.84 kB / 0.9126 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.2358, allocations: 15.94 kB / 0.9126 GB, free: 51.45 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (limPI.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked 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.0001658/0.236, allocations: 237 kB / 0.9128 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.715e-05/0.236, allocations: 43.44 kB / 0.9128 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.664e-05/0.2361, allocations: 43.75 kB / 0.9129 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2361, allocations: 4 kB / 0.9129 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2361, allocations: 0 / 0.9129 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.2361, allocations: 3.984 kB / 0.9129 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009493/0.2371, allocations: 0.7566 MB / 0.9136 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2371, allocations: 4 kB / 0.9136 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.2373, allocations: 51.84 kB / 0.9137 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.2373, allocations: 4 kB / 0.9137 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.2373, allocations: 4 kB / 0.9137 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2373, allocations: 0 / 0.9137 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.2373, allocations: 4 kB / 0.9137 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.2379, allocations: 483.4 kB / 0.9142 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.942e-05/0.238, allocations: 128.5 kB / 0.9143 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.2381, allocations: 4 kB / 0.9143 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.2383, allocations: 23.98 kB / 0.9143 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.2383, allocations: 19.97 kB / 0.9143 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.2384, allocations: 4 kB / 0.9143 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002684/0.2386, allocations: 307.1 kB / 0.9146 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2386, allocations: 0 / 0.9146 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004146/0.2391, allocations: 127.5 kB / 0.9147 GB, free: 49.12 MB / 0.6042 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.0001441/0.2392, allocations: 119.1 kB / 0.9149 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006221/0.2398, allocations: 373.9 kB / 0.9152 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2398, allocations: 4 kB / 0.9152 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.24, allocations: 99.89 kB / 0.9153 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005848/0.2406, allocations: 86.19 kB / 0.9154 GB, free: 48.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.2418, allocations: 0.8722 MB / 0.9163 GB, free: 47.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.242, allocations: 0.8077 MB / 0.917 GB, free: 46.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.265e-05/0.2421, allocations: 31.44 kB / 0.9171 GB, free: 46.66 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2422, allocations: 0 / 0.9171 GB, free: 46.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.00654/0.2487, allocations: 4.72 MB / 0.9217 GB, free: 41.96 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)