Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001103, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205.4 MB / 222.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.562/1.562, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.0004669, allocations: 12.75 kB / 0.6735 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2112, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.0009435/0.2122, allocations: 0.5726 MB / 0.7877 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009401/0.2131, allocations: 0.8594 MB / 0.7885 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.61e-05/0.2132, allocations: 4 kB / 0.7885 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.2132, allocations: 7.922 kB / 0.7885 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.685e-05/0.2133, allocations: 19.97 kB / 0.7886 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.2135, allocations: 27.91 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.2136, allocations: 63.86 kB / 0.7886 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.2137, allocations: 33.27 kB / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.877e-05/0.2138, allocations: 35.84 kB / 0.7887 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.85e-05/0.2139, allocations: 35.84 kB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.2139, allocations: 11.94 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.387e-05/0.2139, allocations: 4 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.2139, allocations: 15.91 kB / 0.7888 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.214, allocations: 41.64 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.2141, allocations: 92 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.2141, allocations: 0 / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2141, allocations: 0 / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.2141, allocations: 0 / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008044/0.2149, allocations: 458.9 kB / 0.7893 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.2149, allocations: 8.031 kB / 0.7893 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.215, allocations: 11.91 kB / 0.7894 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.2151, allocations: 182.8 kB / 0.7895 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.2151, allocations: 8 kB / 0.7895 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.2152, allocations: 4 kB / 0.7895 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.2154, allocations: 105.6 kB / 0.7896 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.2154, allocations: 0 / 0.7896 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.2154, allocations: 0 / 0.7896 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2154, allocations: 0 / 0.7896 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.2156, allocations: 83.89 kB / 0.7897 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006916/0.2163, allocations: 408.6 kB / 0.7901 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.2165, allocations: 66.5 kB / 0.7902 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.2165, allocations: 7.953 kB / 0.7902 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.2165, allocations: 34.5 kB / 0.7902 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.2165, allocations: 4 kB / 0.7902 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003472/0.2169, allocations: 129.7 kB / 0.7903 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.2169, allocations: 55.34 kB / 0.7904 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.2171, allocations: 150.5 kB / 0.7905 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.2171, allocations: 29.7 kB / 0.7906 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.2171, allocations: 104 kB / 0.7907 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.2172, allocations: 15.8 kB / 0.7907 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.2172, allocations: 0 / 0.7907 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2173, allocations: 322.8 kB / 0.791 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.907e-05/0.2174, allocations: 35.98 kB / 0.791 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.974e-05/0.2175, allocations: 32 kB / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.613e-05/0.2176, allocations: 23.98 kB / 0.7911 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2176, allocations: 0 / 0.7911 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002178/0.2178, allocations: 113.5 kB / 0.7912 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2178, allocations: 4 kB / 0.7912 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2178, allocations: 0 / 0.7912 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/0.2178, allocations: 0 / 0.7912 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.983e-05/0.2179, allocations: 15.92 kB / 0.7912 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.218, allocations: 0 / 0.7912 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.2181, allocations: 35.91 kB / 0.7912 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.2181, allocations: 4 kB / 0.7912 GB, free: 7.484 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.924e-05/0.2182, allocations: 127.7 kB / 0.7914 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.2183, allocations: 11.86 kB / 0.7914 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.2183, allocations: 16.31 kB / 0.7914 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2183, allocations: 3.984 kB / 0.7914 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2183, allocations: 0 / 0.7914 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2183, allocations: 0 / 0.7914 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.2185, allocations: 205.5 kB / 0.7916 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2185, allocations: 0 / 0.7916 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.762e-05/0.2186, allocations: 8.25 kB / 0.7916 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2186, allocations: 0 / 0.7916 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.2186, allocations: 11.94 kB / 0.7916 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2186, allocations: 4 kB / 0.7916 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2186, allocations: 0 / 0.7916 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.2189, allocations: 199.4 kB / 0.7918 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.2189, allocations: 84.95 kB / 0.7919 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.219, allocations: 4 kB / 0.7919 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.2192, allocations: 39.92 kB / 0.7919 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.2192, allocations: 11.97 kB / 0.7919 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.2193, allocations: 4 kB / 0.7919 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.921e-05/0.2193, allocations: 117.7 kB / 0.7921 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2193, allocations: 0 / 0.7921 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002278/0.2196, allocations: 20 kB / 0.7921 GB, free: 6.539 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001048/0.2197, allocations: 99.47 kB / 0.7922 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.2199, allocations: 75.89 kB / 0.7922 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2199, allocations: 4 kB / 0.7922 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.784e-05/0.22, allocations: 39.97 kB / 0.7923 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.2202, allocations: 8 kB / 0.7923 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.2206, allocations: 231 kB / 0.7925 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.2209, allocations: 0.7043 MB / 0.7932 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.104e-05/0.2209, allocations: 8 kB / 0.7932 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.221, allocations: 15.42 kB / 0.7932 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.221, allocations: 0 / 0.7932 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of Templates: time 0.002923/0.2239, allocations: 1.06 MB / 0.7943 GB, free: 4.262 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) Environment - environmentSimulation: