Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 105 kB / 15.98 MB, free: 5.891 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.00147/0.00147, allocations: 187.4 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002745/0.002745, allocations: 286.6 kB / 291 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.1/1.1, allocations: 178.6 MB / 0.5076 GB, free: 4.727 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002727/0.002727, allocations: 96.7 kB / 0.6066 GB, free: 25.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1928, allocations: 89.15 MB / 0.6936 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.003009/0.1959, allocations: 1.525 MB / 0.6951 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007738/0.1967, allocations: 437.4 kB / 0.6955 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.1967, allocations: 4 kB / 0.6955 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.1968, allocations: 0 / 0.6955 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.499e-05/0.1969, allocations: 3.938 kB / 0.6955 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.1971, allocations: 20.64 kB / 0.6956 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.269e-05/0.1972, allocations: 51.89 kB / 0.6956 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1973, allocations: 14.31 kB / 0.6956 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.396e-05/0.1973, allocations: 23.86 kB / 0.6956 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.844e-05/0.1974, allocations: 19.92 kB / 0.6957 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.1974, allocations: 4 kB / 0.6957 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.013e-05/0.1975, allocations: 5.906 kB / 0.6957 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.1975, allocations: 15.92 kB / 0.6957 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.539e-05/0.1975, allocations: 19.92 kB / 0.6957 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.122e-05/0.1976, allocations: 36.09 kB / 0.6957 GB, free: 2.535 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1976, allocations: 4 kB / 0.6957 GB, free: 2.531 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1977, allocations: 4 kB / 0.6957 GB, free: 2.527 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1977, allocations: 0 / 0.6957 GB, free: 2.527 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005634/0.1982, allocations: 355.5 kB / 0.6961 GB, free: 2.133 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1983, allocations: 8.031 kB / 0.6961 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.1983, allocations: 8.844 kB / 0.6961 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.1985, allocations: 176.3 kB / 0.6963 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1985, allocations: 384 / 0.6963 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.1985, allocations: 4.375 kB / 0.6963 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.1987, allocations: 65.98 kB / 0.6963 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1987, allocations: 0 / 0.6963 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1987, allocations: 7.984 kB / 0.6963 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1987, allocations: 0 / 0.6963 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.577e-05/0.1988, allocations: 31.92 kB / 0.6964 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.1993, allocations: 300.7 kB / 0.6967 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.1995, allocations: 58.62 kB / 0.6967 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.1995, allocations: 20.98 kB / 0.6967 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.1995, allocations: 3.938 kB / 0.6967 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.1997, allocations: 75.31 kB / 0.6968 GB, free: 1.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.1997, allocations: 0 / 0.6968 GB, free: 1.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002404/0.2, allocations: 101.5 kB / 0.6969 GB, free: 1.164 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.2, allocations: 59.41 kB / 0.697 GB, free: 1.094 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.2001, allocations: 105.8 kB / 0.6971 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.2002, allocations: 29.7 kB / 0.6971 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/0.2002, allocations: 88.12 kB / 0.6972 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.2003, allocations: 23.66 kB / 0.6972 GB, free: 0.832 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.2003, allocations: 29.7 kB / 0.6972 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2005, allocations: 322.8 kB / 0.6975 GB, free: 484 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.738e-05/0.2005, allocations: 15.98 kB / 0.6976 GB, free: 468 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.2006, allocations: 55.3 kB / 0.6976 GB, free: 400 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.2007, allocations: 63.38 kB / 0.6977 GB, free: 324 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2007, allocations: 3.984 kB / 0.6977 GB, free: 320 kB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001471/0.2009, allocations: 97.53 kB / 0.6978 GB, free: 216 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2009, allocations: 4 kB / 0.6978 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2009, allocations: 4.031 kB / 0.6978 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2009, allocations: 4 kB / 0.6978 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.274e-05/0.201, allocations: 11.98 kB / 0.6978 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.201, allocations: 0 / 0.6978 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.208e-05/0.2011, allocations: 7.938 kB / 0.6978 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.2011, allocations: 4 kB / 0.6978 GB, free: 180 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 0.0001122/0.2012, allocations: 126.7 kB / 0.6979 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.2012, allocations: 4 kB / 0.6979 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/0.2013, allocations: 15.95 kB / 0.6979 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2013, allocations: 0 / 0.6979 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2013, allocations: 0 / 0.6979 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2013, allocations: 4 kB / 0.6979 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004675/0.2018, allocations: 362.7 kB / 0.6983 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2018, allocations: 4.062 kB / 0.6983 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.2018, allocations: 7.984 kB / 0.6983 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2018, allocations: 0 / 0.6983 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.2018, allocations: 7.938 kB / 0.6983 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.2018, allocations: 3.938 kB / 0.6983 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2019, allocations: 4 kB / 0.6983 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.2021, allocations: 183.4 kB / 0.6985 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.2021, allocations: 81.05 kB / 0.6986 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.2021, allocations: 0 / 0.6986 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.2022, allocations: 11.92 kB / 0.6986 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.2023, allocations: 8 kB / 0.6986 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.2023, allocations: 8 kB / 0.6986 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.004e-05/0.2024, allocations: 87.27 kB / 0.6987 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2024, allocations: 0 / 0.6987 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002292/0.2026, allocations: 12 kB / 0.6987 GB, free: 15.16 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 0.0001058/0.2027, allocations: 101.4 kB / 0.6988 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.2029, allocations: 59.84 kB / 0.6988 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2029, allocations: 3.938 kB / 0.6988 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.438e-05/0.2029, allocations: 24.06 kB / 0.6989 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.2032, allocations: 15.98 kB / 0.6989 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.2037, allocations: 191.6 kB / 0.6991 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.204, allocations: 0.6885 MB / 0.6997 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.2041, allocations: 27.31 kB / 0.6998 GB, free: 14 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.2041, allocations: 0 / 0.6998 GB, free: 14 MB / 0.4981 GB Notification: Performance of Templates: time 0.002639/0.2067, allocations: 0.8609 MB / 0.7006 GB, free: 13.14 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)