Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009546/0.0009547, allocations: 178.2 kB / 326.5 MB, free: 2.684 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.512/1.512, allocations: 205 MB / 0.5766 GB, free: 21 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.0008012/0.0008013, allocations: 100.7 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.0003082, allocations: 17.33 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1942, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001537/0.1958, allocations: 1.313 MB / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003521/0.1961, allocations: 204.2 kB / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.1962, allocations: 0 / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.1962, allocations: 7.922 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.419e-05/0.1963, allocations: 15.86 kB / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.1965, allocations: 27.97 kB / 0.8983 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.768e-05/0.1966, allocations: 103.6 kB / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1967, allocations: 57.09 kB / 0.8984 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.006e-05/0.1968, allocations: 31.86 kB / 0.8985 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.776e-05/0.1969, allocations: 39.78 kB / 0.8985 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.1969, allocations: 4 kB / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.1969, allocations: 0 / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.197, allocations: 19.91 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.197, allocations: 35.73 kB / 0.8986 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.637e-05/0.1971, allocations: 99.77 kB / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1971, allocations: 0 / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1971, allocations: 0 / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.1971, allocations: 0 / 0.8986 GB, free: 66.21 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006893/0.1978, allocations: 459.1 kB / 0.8991 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.1979, allocations: 8.031 kB / 0.8991 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.1979, allocations: 12.75 kB / 0.8991 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.198, allocations: 185.5 kB / 0.8993 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.198, allocations: 12.36 kB / 0.8993 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.1981, allocations: 4.375 kB / 0.8993 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.1982, allocations: 92.47 kB / 0.8994 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1983, allocations: 8.188 kB / 0.8994 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1983, allocations: 3.938 kB / 0.8994 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1983, allocations: 0 / 0.8994 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.1985, allocations: 79.89 kB / 0.8995 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.1991, allocations: 416.4 kB / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.1993, allocations: 66.5 kB / 0.8999 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.739e-05/0.1993, allocations: 36.97 kB / 0.9 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.1994, allocations: 4 kB / 0.9 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.1994, allocations: 34.55 kB / 0.9 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1994, allocations: 0 / 0.9 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0003239/0.1997, allocations: 125.5 kB / 0.9001 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.1998, allocations: 55.41 kB / 0.9002 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.594e-05/0.1999, allocations: 165.3 kB / 0.9003 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.1999, allocations: 33.64 kB / 0.9004 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.1999, allocations: 104.1 kB / 0.9005 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.1999, allocations: 15.89 kB / 0.9005 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.2, allocations: 17.7 kB / 0.9005 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.574e-05/0.2, allocations: 318.8 kB / 0.9008 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.033e-05/0.2001, allocations: 39.97 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.924e-05/0.2002, allocations: 31.98 kB / 0.9009 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.2003, allocations: 56.83 kB / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2003, allocations: 4 kB / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001729/0.2005, allocations: 97.52 kB / 0.901 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2005, allocations: 8 kB / 0.901 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2005, allocations: 0 / 0.901 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2006, allocations: 0 / 0.901 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.35e-05/0.2006, allocations: 11.98 kB / 0.901 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2007, allocations: 7.938 kB / 0.9011 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.2008, allocations: 35.88 kB / 0.9011 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.2008, allocations: 4 kB / 0.9011 GB, free: 63.49 MB / 0.6042 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.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.069e-05/0.2009, allocations: 121.8 kB / 0.9012 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.2009, allocations: 11.89 kB / 0.9012 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.201, allocations: 16.31 kB / 0.9012 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.201, allocations: 0 / 0.9012 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.201, allocations: 3.938 kB / 0.9012 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.201, allocations: 0 / 0.9012 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.2011, allocations: 201.6 kB / 0.9014 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2011, allocations: 256 / 0.9014 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.341e-05/0.2012, allocations: 19.92 kB / 0.9014 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2012, allocations: 4 kB / 0.9015 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.2012, allocations: 4 kB / 0.9015 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2012, allocations: 0 / 0.9015 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2012, allocations: 3.938 kB / 0.9015 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.2014, allocations: 191.4 kB / 0.9016 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.2015, allocations: 85.02 kB / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.2015, allocations: 4 kB / 0.9017 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.2017, allocations: 27.97 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.2017, allocations: 23.91 kB / 0.9018 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.2017, allocations: 0 / 0.9018 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.595e-05/0.2018, allocations: 123.2 kB / 0.9019 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2018, allocations: 0 / 0.9019 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002092/0.202, allocations: 15.94 kB / 0.9019 GB, free: 62.55 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.863e-05/0.2021, allocations: 99.19 kB / 0.902 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001836/0.2023, allocations: 75.97 kB / 0.9021 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.2023, allocations: 3.938 kB / 0.9021 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.001e-05/0.2024, allocations: 39.97 kB / 0.9021 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.2027, allocations: 11.94 kB / 0.9021 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.203, allocations: 259.1 kB / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.2032, allocations: 0.6965 MB / 0.9031 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.2032, allocations: 19.42 kB / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.2032, allocations: 0 / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.002339/0.2056, allocations: 1.274 MB / 0.9043 GB, free: 60.03 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)